Skip to contentSkip to conversation

gpio: iop: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE

PATCH In review Jesse Chan 2 participants 2 messages Nov 20, 2017 – Nov 30, 2017 GPIO

lore
Share & tools
lore

Jesse Chan

author
#0 lore raw

PATCH 1/1 gpio: iop: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE

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.

---
 drivers/gpio/gpio-iop.c | 4 ++++
 1 file changed, 4 insertions(+)
drivers/gpio/gpio-iop.c +4 -0
index 98c7ff2a76e7..8d62db447ec1 100644
@@ -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 <[email protected]>");
+MODULE_LICENSE("GPL");
Signature · 1 line
2.14.1
#1 lore raw
Quoted 11 lines · Jesse Chan

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.

Patch applied.

Yours,
Linus Walleij