input: tsc2005: Add MODULE_ALIAS
diff mbox

Message ID 1361060872-11818-1-git-send-email-pali.rohar@gmail.com
State New, archived
Headers show

Commit Message

Pali Rohár Feb. 17, 2013, 12:27 a.m. UTC
* This patch enable autoloading tsc2005 driver when is compiled as module

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

Comments

Dmitry Torokhov Feb. 17, 2013, 6:13 a.m. UTC | #1
On Sun, Feb 17, 2013 at 01:27:52AM +0100, Pali Rohár wrote:
> * This patch enable autoloading tsc2005 driver when is compiled as module
> 
> Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
> ---
>  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@nokia.com>");
>  MODULE_DESCRIPTION("TSC2005 Touchscreen Driver");
>  MODULE_LICENSE("GPL");
> +MODULE_ALIAS("spi:tsc2005");

Applied, thank you Pali.

Patch
diff mbox

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@nokia.com>");
 MODULE_DESCRIPTION("TSC2005 Touchscreen Driver");
 MODULE_LICENSE("GPL");
+MODULE_ALIAS("spi:tsc2005");