gpio: ucb1400: Add MODULE_ALIAS
PATCH 1/1 gpio: ucb1400: Add MODULE_ALIAS
This driver can be built as a module now.
Add MODULE_ALIAS to support module auto-loading.
Signed-off-by Axel Lin <[email protected]>
--- drivers/gpio/gpio-ucb1400.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpio/gpio-ucb1400.c +1 -0
@@ -105,3 +105,4 @@ module_platform_driver(ucb1400_gpio_driver);MODULE_DESCRIPTION ("Philips UCB1400 GPIO driver" );MODULE_LICENSE ("GPL" ); +MODULE_ALIAS ("platform:ucb1400_gpio" );
Signature · 1 line
1.8.1.2
Hi Axel,
Quoted 13 lines · Axel Lin
This driver can be built as a module now.
AddMODULE_ALIASto support module auto-loading.Signed-off-by Axel Lin <[email protected]>--- drivers/gpio/gpio-ucb1400.c | 1 + 1 file changed, 1 insertion(+)drivers/gpio/gpio-ucb1400.c +0
-0
drivers/gpio/gpio-ucb1400.c module_platform_driver(ucb1400_gpio_driver); · line 108
Quoted 4 lines
drivers/gpio/gpio-ucb1400.c +1
-0@@ -105,3 +105,4 @@ module_platform_driver(ucb1400_gpio_driver);MODULE_DESCRIPTION ("Philips UCB1400 GPIO driver" );MODULE_LICENSE ("GPL" ); +MODULE_ALIAS ("platform:ucb1400_gpio" );
Sorry for missing that in my previous patch, and thanks for catching my mistake.
Reviewed-by Jean Delvare <[email protected]>
I believe this should make it into kernel version 3.13 to avoid regressions.
Signature · 7 lines
Jean Delvare Suse L3 Support -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 4 lines · Axel Lin
This driver can be built as a module now.
AddMODULE_ALIASto support module auto-loading.Signed-off-by Axel Lin <[email protected]>
Applied for fixes with Jean's ACK, thanks!
Yours,
Linus Walleij