[PATCH] Input: eeti_ts - publish the OF module alias

hpp.iscas posted 1 patch 2 weeks, 6 days ago
drivers/input/touchscreen/eeti_ts.c | 1 +
1 file changed, 1 insertion(+)
[PATCH] Input: eeti_ts - publish the OF module alias
Posted by hpp.iscas 2 weeks, 6 days ago
The EETI driver matches eeti,exc3000-i2c Device Tree clients, but only
publishes the legacy eeti_ts I2C ID. The I2C core emits an OF modalias
for a Device Tree client.

Publish the existing OF match table within its CONFIG_OF guard.

Fixes: e32d7f1b246c ("Input: eeti - add device tree matching table")
Signed-off-by: hpp.iscas <hppiscas@163.com>
---
 drivers/input/touchscreen/eeti_ts.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/input/touchscreen/eeti_ts.c b/drivers/input/touchscreen/eeti_ts.c
index b12602b..b870a93 100644
--- a/drivers/input/touchscreen/eeti_ts.c
+++ b/drivers/input/touchscreen/eeti_ts.c
@@ -276,6 +276,7 @@ static const struct of_device_id of_eeti_ts_match[] = {
 	{ .compatible = "eeti,exc3000-i2c", },
 	{ }
 };
+MODULE_DEVICE_TABLE(of, of_eeti_ts_match);
 #endif
 
 static struct i2c_driver eeti_ts_driver = {
Re: [PATCH] Input: eeti_ts - publish the OF module alias
Posted by Dmitry Torokhov 1 week, 4 days ago
On Sat, Sep 05, 2026 at 09:40:04PM +0800, hpp.iscas wrote:
> The EETI driver matches eeti,exc3000-i2c Device Tree clients, but only
> publishes the legacy eeti_ts I2C ID. The I2C core emits an OF modalias
> for a Device Tree client.
> 
> Publish the existing OF match table within its CONFIG_OF guard.
> 
> Fixes: e32d7f1b246c ("Input: eeti - add device tree matching table")
> Signed-off-by: hpp.iscas <hppiscas@163.com>

Applied, thank you.

-- 
Dmitry