* [PATCH] gpio: ucb1400: Add MODULE_ALIAS
@ 2013-11-19 7:31 Axel Lin
2013-11-19 8:52 ` Jean Delvare
2013-11-19 9:51 ` Linus Walleij
0 siblings, 2 replies; 3+ messages in thread
From: Axel Lin @ 2013-11-19 7:31 UTC (permalink / raw)
To: Linus Walleij; +Cc: Marek Vasut, Jean Delvare, linux-gpio
This driver can be built as a module now.
Add MODULE_ALIAS to support module auto-loading.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
drivers/gpio/gpio-ucb1400.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpio/gpio-ucb1400.c b/drivers/gpio/gpio-ucb1400.c
index 1a605f2..06fb5cf 100644
--- a/drivers/gpio/gpio-ucb1400.c
+++ b/drivers/gpio/gpio-ucb1400.c
@@ -105,3 +105,4 @@ module_platform_driver(ucb1400_gpio_driver);
MODULE_DESCRIPTION("Philips UCB1400 GPIO driver");
MODULE_LICENSE("GPL");
+MODULE_ALIAS("platform:ucb1400_gpio");
--
1.8.1.2
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] gpio: ucb1400: Add MODULE_ALIAS
2013-11-19 7:31 [PATCH] gpio: ucb1400: Add MODULE_ALIAS Axel Lin
@ 2013-11-19 8:52 ` Jean Delvare
2013-11-19 9:51 ` Linus Walleij
1 sibling, 0 replies; 3+ messages in thread
From: Jean Delvare @ 2013-11-19 8:52 UTC (permalink / raw)
To: Axel Lin; +Cc: Linus Walleij, Marek Vasut, linux-gpio
Hi Axel,
Le Tuesday 19 November 2013 à 15:31 +0800, Axel Lin a écrit :
> This driver can be built as a module now.
> Add MODULE_ALIAS to support module auto-loading.
>
> Signed-off-by: Axel Lin <axel.lin@ingics.com>
> ---
> drivers/gpio/gpio-ucb1400.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpio/gpio-ucb1400.c b/drivers/gpio/gpio-ucb1400.c
> index 1a605f2..06fb5cf 100644
> --- a/drivers/gpio/gpio-ucb1400.c
> +++ b/drivers/gpio/gpio-ucb1400.c
> @@ -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 <jdelvare@suse.de>
I believe this should make it into kernel version 3.13 to avoid
regressions.
--
Jean Delvare
Suse L3 Support
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] gpio: ucb1400: Add MODULE_ALIAS
2013-11-19 7:31 [PATCH] gpio: ucb1400: Add MODULE_ALIAS Axel Lin
2013-11-19 8:52 ` Jean Delvare
@ 2013-11-19 9:51 ` Linus Walleij
1 sibling, 0 replies; 3+ messages in thread
From: Linus Walleij @ 2013-11-19 9:51 UTC (permalink / raw)
To: Axel Lin; +Cc: Marek Vasut, Jean Delvare, linux-gpio@vger.kernel.org
On Tue, Nov 19, 2013 at 8:31 AM, Axel Lin <axel.lin@ingics.com> wrote:
> This driver can be built as a module now.
> Add MODULE_ALIAS to support module auto-loading.
>
> Signed-off-by: Axel Lin <axel.lin@ingics.com>
Applied for fixes with Jean's ACK, thanks!
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-11-19 9:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-19 7:31 [PATCH] gpio: ucb1400: Add MODULE_ALIAS Axel Lin
2013-11-19 8:52 ` Jean Delvare
2013-11-19 9:51 ` Linus Walleij
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).