[PATCH] input: tsc2005: Add MODULE_ALIAS

From: Pali RohÃr
Date: Sat Feb 16 2013 - 19:28:20 EST


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

Signed-off-by: Pali RohÃr <pali.rohar@xxxxxxxxx>
---
drivers/input/touchscreen/tsc2005.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/input/touchscreen/tsc2005.c b/drivers/input/touchscreen/tsc2005.c
index 9c0cdc7..7213e8b 100644
--- a/drivers/input/touchscreen/tsc2005.c
+++ b/drivers/input/touchscreen/tsc2005.c
@@ -753,3 +753,4 @@ module_spi_driver(tsc2005_driver);
MODULE_AUTHOR("Lauri Leukkunen <lauri.leukkunen@xxxxxxxxx>");
MODULE_DESCRIPTION("TSC2005 Touchscreen Driver");
MODULE_LICENSE("GPL");
+MODULE_ALIAS("spi:tsc2005");
--
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/