* [PATCH] mfd/gpio/misc: add MODULE_ALIAS entries for CS5535 functions
@ 2010-12-02 3:55 Andres Salomon
2010-12-09 12:01 ` Samuel Ortiz
0 siblings, 1 reply; 2+ messages in thread
From: Andres Salomon @ 2010-12-02 3:55 UTC (permalink / raw)
To: Samuel Ortiz; +Cc: linux-geode, linux-kernel, cjb, dsd
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 <dilinger@queued.net>
---
drivers/gpio/cs5535-gpio.c | 1 +
drivers/misc/cs5535-mfgpt.c | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/gpio/cs5535-gpio.c b/drivers/gpio/cs5535-gpio.c
index cc49687..90df6c5 100644
--- a/drivers/gpio/cs5535-gpio.c
+++ b/drivers/gpio/cs5535-gpio.c
@@ -388,3 +388,4 @@ module_exit(cs5535_gpio_exit);
MODULE_AUTHOR("Andres Salomon <dilinger@queued.net>");
MODULE_DESCRIPTION("AMD CS5535/CS5536 GPIO driver");
MODULE_LICENSE("GPL");
+MODULE_ALIAS("platform:" DRV_NAME);
diff --git a/drivers/misc/cs5535-mfgpt.c b/drivers/misc/cs5535-mfgpt.c
index 499bd64..2669306 100644
--- a/drivers/misc/cs5535-mfgpt.c
+++ b/drivers/misc/cs5535-mfgpt.c
@@ -349,3 +349,4 @@ module_init(cs5535_mfgpt_init);
MODULE_AUTHOR("Andres Salomon <dilinger@queued.net>");
MODULE_DESCRIPTION("CS5535/CS5536 MFGPT timer driver");
MODULE_LICENSE("GPL");
+MODULE_ALIAS("platform:" DRV_NAME);
--
1.7.2.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] mfd/gpio/misc: add MODULE_ALIAS entries for CS5535 functions
2010-12-02 3:55 [PATCH] mfd/gpio/misc: add MODULE_ALIAS entries for CS5535 functions Andres Salomon
@ 2010-12-09 12:01 ` Samuel Ortiz
0 siblings, 0 replies; 2+ messages in thread
From: Samuel Ortiz @ 2010-12-09 12:01 UTC (permalink / raw)
To: Andres Salomon; +Cc: linux-geode, linux-kernel, cjb, dsd
Hi Andres,
On Wed, Dec 01, 2010 at 07:55:10PM -0800, Andres Salomon wrote:
>
> 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.
> Signed-off-by: Andres Salomon <dilinger@queued.net>
> ---
> drivers/gpio/cs5535-gpio.c | 1 +
> drivers/misc/cs5535-mfgpt.c | 1 +
> 2 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/gpio/cs5535-gpio.c b/drivers/gpio/cs5535-gpio.c
> index cc49687..90df6c5 100644
> --- a/drivers/gpio/cs5535-gpio.c
> +++ b/drivers/gpio/cs5535-gpio.c
> @@ -388,3 +388,4 @@ module_exit(cs5535_gpio_exit);
> MODULE_AUTHOR("Andres Salomon <dilinger@queued.net>");
> MODULE_DESCRIPTION("AMD CS5535/CS5536 GPIO driver");
> MODULE_LICENSE("GPL");
> +MODULE_ALIAS("platform:" DRV_NAME);
> diff --git a/drivers/misc/cs5535-mfgpt.c b/drivers/misc/cs5535-mfgpt.c
> index 499bd64..2669306 100644
> --- a/drivers/misc/cs5535-mfgpt.c
> +++ b/drivers/misc/cs5535-mfgpt.c
> @@ -349,3 +349,4 @@ module_init(cs5535_mfgpt_init);
> MODULE_AUTHOR("Andres Salomon <dilinger@queued.net>");
> MODULE_DESCRIPTION("CS5535/CS5536 MFGPT timer driver");
> MODULE_LICENSE("GPL");
> +MODULE_ALIAS("platform:" DRV_NAME);
> --
> 1.7.2.3
>
--
Intel Open Source Technology Centre
http://oss.intel.com/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-12-09 12:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-02 3:55 [PATCH] mfd/gpio/misc: add MODULE_ALIAS entries for CS5535 functions Andres Salomon
2010-12-09 12:01 ` Samuel Ortiz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox