Skip to contentSkip to conversation

mfd/gpio/misc: add MODULE_ALIAS entries for CS5535 functions

PATCH In review Andres Salomon 2 participants 2 messages Dec 2, 2010 – Dec 9, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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.

---
 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
index cc49687..90df6c5 100644
@@ -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
index 499bd64..2669306 100644
@@ -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
#1 lore raw

Hi Andres,

Quoted 3 lines · Andres Salomon

This adds MODULE_ALIAS entries 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
---
 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
index cc49687..90df6c5 100644
@@ -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
index 499bd64..2669306 100644
@@ -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/