input: tsc2005: Add MODULE_ALIAS
Subsystems (2)
PATCH 1/1 input: tsc2005: Add MODULE_ALIAS
* This patch enable autoloading tsc2005 driver when is compiled as module
Signed-off-by Pali Rohár <[email protected]>
--- drivers/input/touchscreen/tsc2005.c | 1 + 1 file changed, 1 insertion(+)
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" );
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
Quoted 12 lines · Pali Rohár
* This patch enable autoloading tsc2005 driver when is compiled as module
Signed-off-by Pali Rohár <[email protected]>--- drivers/input/touchscreen/tsc2005.c | 1 + 1 file changed, 1 insertion(+)drivers/input/touchscreen/tsc2005.c +0
-0
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