mfd/gpio/misc: add MODULE_ALIAS entries for CS5535 functions
Subsystems (2)
PATCH 1/1 mfd/gpio/misc: add MODULE_ALIAS entries for CS5535 functions
This adds MODULE_ALIAS entries to the various cs5535 subdevice modules; this allows the modules to automatically be loaded when cs5535-mfd loads.
Signed-off-by Andres Salomon <[email protected]>
--- drivers/gpio/cs5535-gpio.c | 1 + drivers/misc/cs5535-mfgpt.c | 1 + 2 files changed, 2 insertions(+), 0 deletions(-)
drivers/gpio/cs5535-gpio.c +1 -0
@@ -388,3 +388,4 @@ module_exit(cs5535_gpio_exit);MODULE_AUTHOR ("Andres Salomon <[email protected]>" );MODULE_DESCRIPTION ("AMD CS5535/CS5536 GPIO driver" );MODULE_LICENSE ("GPL" ); +MODULE_ALIAS ("platform:" DRV_NAME );
drivers/misc/cs5535-mfgpt.c +1 -0
@@ -349,3 +349,4 @@ module_init(cs5535_mfgpt_init);MODULE_AUTHOR ("Andres Salomon <[email protected]>" );MODULE_DESCRIPTION ("CS5535/CS5536 MFGPT timer driver" );MODULE_LICENSE ("GPL" ); +MODULE_ALIAS ("platform:" DRV_NAME );
Signature · 1 line
1.7.2.3
Hi Andres,
Quoted 3 lines · Andres Salomon
This adds
MODULE_ALIASentries to the various cs5535 subdevice modules; this allows the modules to automatically be loaded when cs5535-mfd loads.
Patch applied, thanks.
Cheers,
Samuel.
Quoted 27 lines
Signed-off-by Andres Salomon <[email protected]>--- drivers/gpio/cs5535-gpio.c | 1 + drivers/misc/cs5535-mfgpt.c | 1 + 2 files changed, 2 insertions(+), 0 deletions(-)drivers/gpio/cs5535-gpio.c +1
-0@@ -388,3 +388,4 @@ module_exit(cs5535_gpio_exit);MODULE_AUTHOR ("Andres Salomon <[email protected]>" );MODULE_DESCRIPTION ("AMD CS5535/CS5536 GPIO driver" );MODULE_LICENSE ("GPL" ); +MODULE_ALIAS ("platform:" DRV_NAME );drivers/misc/cs5535-mfgpt.c +1
-0@@ -349,3 +349,4 @@ module_init(cs5535_mfgpt_init);MODULE_AUTHOR ("Andres Salomon <[email protected]>" );MODULE_DESCRIPTION ("CS5535/CS5536 MFGPT timer driver" );MODULE_LICENSE ("GPL" ); +MODULE_ALIAS ("platform:" DRV_NAME );Signature · 1 line
1.7.2.3
Signature · 2 lines
Intel Open Source Technology Centre http://oss.intel.com/