Skip to contentSkip to conversation

Input: eeti_ts - publish the OF module alias

PATCH Applied hpp.iscas 2 participants 2 messages Sep 5 – Sep 14

Subsystems (2)
lore
Share & tools
lore

hpp.iscas

author
#0 lore raw

PATCH 1/1 Input: eeti_ts - publish the OF module alias

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")
---
 drivers/input/touchscreen/eeti_ts.c | 1 +
 1 file changed, 1 insertion(+)
drivers/input/touchscreen/eeti_ts.c +1 -0
index b12602b..b870a93 100644
@@ -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 = {
maintainer Applied
#1 lore raw
Quoted 8 lines · hpp.iscas

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")

Applied, thank you.

Signature · 1 line
Dmitry