diff mbox series

gpio: ath79: add missing MODULE_DESCRIPTION/LICENSE

Message ID 20171120205426.83707-1-jc@linux.com
State Accepted
Commit 539340f37e6d6ed4cd93e8e18c9b2e4eafd4b842
Headers show
Series gpio: ath79: add missing MODULE_DESCRIPTION/LICENSE | expand

Commit Message

Jesse Chan Nov. 20, 2017, 8:54 p.m. UTC
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(+)

-- 
2.14.1

Comments

Alban Nov. 20, 2017, 9:55 p.m. UTC | #1
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
diff mbox series

Patch

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");