Skip to contentSkip to conversation

input: tsc2005: Add MODULE_ALIAS

PATCH Applied Pali Rohár 2 participants 2 messages Feb 17, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 input: tsc2005: Add MODULE_ALIAS

* This patch enable autoloading tsc2005 driver when is compiled as module

---
 drivers/input/touchscreen/tsc2005.c |    1 +
 1 file changed, 1 insertion(+)
drivers/input/touchscreen/tsc2005.c +1 -0
index 9c0cdc7..7213e8b 100644
@@ -753,3 +753,4 @@ module_spi_driver(tsc2005_driver);
 MODULE_AUTHOR("Lauri Leukkunen <[email protected]>");
 MODULE_DESCRIPTION("TSC2005 Touchscreen Driver");
 MODULE_LICENSE("GPL");
+MODULE_ALIAS("spi:tsc2005");
Signature · 6 lines
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
maintainer Applied
#1 lore raw
Quoted 12 lines · Pali Rohár

* This patch enable autoloading tsc2005 driver when is compiled as module

---
 drivers/input/touchscreen/tsc2005.c |    1 +
 1 file changed, 1 insertion(+)
drivers/input/touchscreen/tsc2005.c +0 -0
index 9c0cdc7..7213e8b 100644

drivers/input/touchscreen/tsc2005.c module_spi_driver(tsc2005_driver); · line 756

Quoted 4 lines
drivers/input/touchscreen/tsc2005.c +1 -0
@@ -753,3 +753,4 @@ module_spi_driver(tsc2005_driver);
 MODULE_AUTHOR("Lauri Leukkunen <[email protected]>");
 MODULE_DESCRIPTION("TSC2005 Touchscreen Driver");
 MODULE_LICENSE("GPL");
+MODULE_ALIAS("spi:tsc2005");

Applied, thank you Pali.

Signature · 5 lines
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html