linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] gpio: ath79: add missing MODULE_DESCRIPTION/LICENSE
@ 2017-11-20 20:54 Jesse Chan
  2017-11-20 21:55 ` Alban
  2017-11-30 13:44 ` Linus Walleij
  0 siblings, 2 replies; 3+ messages in thread
From: Jesse Chan @ 2017-11-20 20:54 UTC (permalink / raw)
  Cc: Jesse Chan, Alban Bedel, 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-ath79.o
see include/linux/module.h for more information

This adds the license as "GPL v2", which matches the header of the file.

MODULE_DESCRIPTION is also added.

Signed-off-by: Jesse Chan <jc@linux.com>
---
 drivers/gpio/gpio-ath79.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/gpio/gpio-ath79.c b/drivers/gpio/gpio-ath79.c
index 5fad89dfab7e..3ae7c1876bf4 100644
--- a/drivers/gpio/gpio-ath79.c
+++ b/drivers/gpio/gpio-ath79.c
@@ -324,3 +324,6 @@ static struct platform_driver ath79_gpio_driver = {
 };
 
 module_platform_driver(ath79_gpio_driver);
+
+MODULE_DESCRIPTION("Atheros AR71XX/AR724X/AR913X GPIO API support");
+MODULE_LICENSE("GPL v2");
-- 
2.14.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] gpio: ath79: add missing MODULE_DESCRIPTION/LICENSE
  2017-11-20 20:54 [PATCH] gpio: ath79: add missing MODULE_DESCRIPTION/LICENSE Jesse Chan
@ 2017-11-20 21:55 ` Alban
  2017-11-30 13:44 ` Linus Walleij
  1 sibling, 0 replies; 3+ messages in thread
From: Alban @ 2017-11-20 21:55 UTC (permalink / raw)
  To: Jesse Chan; +Cc: Aban Bedel, Linus Walleij, linux-gpio, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 508 bytes --]

On Mon, 20 Nov 2017 12:54:26 -0800
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-ath79.o
> see include/linux/module.h for more information
> 
> This adds the license as "GPL v2", which matches the header of the file.
> 
> MODULE_DESCRIPTION is also added.
> 
> Signed-off-by: Jesse Chan <jc@linux.com>

Acked-by: Alban Bedel <albeu@free.fr>

Alban

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] gpio: ath79: add missing MODULE_DESCRIPTION/LICENSE
  2017-11-20 20:54 [PATCH] gpio: ath79: add missing MODULE_DESCRIPTION/LICENSE Jesse Chan
  2017-11-20 21:55 ` Alban
@ 2017-11-30 13:44 ` Linus Walleij
  1 sibling, 0 replies; 3+ messages in thread
From: Linus Walleij @ 2017-11-30 13:44 UTC (permalink / raw)
  To: Jesse Chan; +Cc: Alban Bedel, 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-ath79.o
> see include/linux/module.h for more information
>
> This adds the license as "GPL v2", which matches the header of the file.
>
> MODULE_DESCRIPTION is also added.
>
> Signed-off-by: Jesse Chan <jc@linux.com>

Patch applied with ACK.

Yours,
Linus Walleij

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-11-30 13:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-20 20:54 [PATCH] gpio: ath79: add missing MODULE_DESCRIPTION/LICENSE Jesse Chan
2017-11-20 21:55 ` Alban
2017-11-30 13:44 ` 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).