linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] touchscreen: stmpe-ts: enable module autoload
@ 2015-05-21 21:19 Heiner Kallweit
  2015-05-21 23:06 ` Dmitry Torokhov
  0 siblings, 1 reply; 7+ messages in thread
From: Heiner Kallweit @ 2015-05-21 21:19 UTC (permalink / raw)
  To: Dmitry Torokhov; +Cc: linux-input

Even with poper DT config the module didn't autoload.
That's fixed by this additional alias.

Tested successfully with a STMPE610-based Adafruit PITFT Plus 3.5"
on RPI2 under Arch Linux ARM (kernel 3.18.13).

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
---
 drivers/input/touchscreen/stmpe-ts.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/input/touchscreen/stmpe-ts.c b/drivers/input/touchscreen/stmpe-ts.c
index e4c3125..1940e3c 100644
--- a/drivers/input/touchscreen/stmpe-ts.c
+++ b/drivers/input/touchscreen/stmpe-ts.c
@@ -393,4 +393,5 @@ module_platform_driver(stmpe_ts_driver);
 MODULE_AUTHOR("Luotao Fu <l.fu@pengutronix.de>");
 MODULE_DESCRIPTION("STMPEXXX touchscreen driver");
 MODULE_LICENSE("GPL");
+MODULE_ALIAS("spi:" STMPE_TS_NAME);
 MODULE_ALIAS("platform:" STMPE_TS_NAME);
-- 
2.4.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-05-22 21:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-21 21:19 [PATCH] touchscreen: stmpe-ts: enable module autoload Heiner Kallweit
2015-05-21 23:06 ` Dmitry Torokhov
2015-05-22  5:34   ` Heiner Kallweit
2015-05-22 18:29     ` Dmitry Torokhov
2015-05-22 19:01       ` Heiner Kallweit
2015-05-22 20:17         ` Dmitry Torokhov
2015-05-22 21:02           ` Heiner Kallweit

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).