* [PATCH] gpio: iop: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE
@ 2017-11-20 20:54 Jesse Chan
2017-11-30 13:41 ` Linus Walleij
0 siblings, 1 reply; 2+ messages in thread
From: Jesse Chan @ 2017-11-20 20:54 UTC (permalink / raw)
Cc: Jesse Chan, Linus Walleij, linux-gpio, linux-kernel
This change resolves a new compile-time warning
when built as a loadable module:
WARNING: modpost: missing MODULE_LICENSE() in drivers/gpio/gpio-iop.o
see include/linux/module.h for more information
This adds the license as "GPL", which matches the header of the file.
MODULE_DESCRIPTION and MODULE_AUTHOR are also added.
Signed-off-by: Jesse Chan <jc@linux.com>
---
drivers/gpio/gpio-iop.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/gpio/gpio-iop.c b/drivers/gpio/gpio-iop.c
index 98c7ff2a76e7..8d62db447ec1 100644
--- a/drivers/gpio/gpio-iop.c
+++ b/drivers/gpio/gpio-iop.c
@@ -58,3 +58,7 @@ static int __init iop3xx_gpio_init(void)
return platform_driver_register(&iop3xx_gpio_driver);
}
arch_initcall(iop3xx_gpio_init);
+
+MODULE_DESCRIPTION("GPIO handling for Intel IOP3xx processors");
+MODULE_AUTHOR("Lennert Buytenhek <buytenh@wantstofly.org>");
+MODULE_LICENSE("GPL");
--
2.14.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] gpio: iop: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE
2017-11-20 20:54 [PATCH] gpio: iop: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE Jesse Chan
@ 2017-11-30 13:41 ` Linus Walleij
0 siblings, 0 replies; 2+ messages in thread
From: Linus Walleij @ 2017-11-30 13:41 UTC (permalink / raw)
To: Jesse Chan; +Cc: linux-gpio, linux-kernel@vger.kernel.org
On Mon, Nov 20, 2017 at 9:54 PM, Jesse Chan <jc@linux.com> wrote:
> This change resolves a new compile-time warning
> when built as a loadable module:
>
> WARNING: modpost: missing MODULE_LICENSE() in drivers/gpio/gpio-iop.o
> see include/linux/module.h for more information
>
> This adds the license as "GPL", which matches the header of the file.
>
> MODULE_DESCRIPTION and MODULE_AUTHOR are also added.
>
> Signed-off-by: Jesse Chan <jc@linux.com>
Patch applied.
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-11-30 13:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-20 20:54 [PATCH] gpio: iop: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE Jesse Chan
2017-11-30 13:41 ` Linus Walleij
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox