Skip to contentSkip to conversation

gpio: iop: add MODULE_LICENSE

PATCH In review Daniel Axtens 2 participants 2 messages Dec 1, 2017 – Dec 2, 2017 GPIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gpio: iop: add MODULE_LICENSE

This fixes the following warning in an allmodconfig build:
WARNING: modpost: missing MODULE_LICENSE() in drivers/gpio/gpio-iop.o

---
 drivers/gpio/gpio-iop.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/gpio/gpio-iop.c +2 -0
index 98c7ff2a76e7..8a19143e865b 100644
@@ -58,3 +58,5 @@ static int __init iop3xx_gpio_init(void)
 	return platform_driver_register(&iop3xx_gpio_driver);
 }
 arch_initcall(iop3xx_gpio_init);
+
+MODULE_LICENSE("GPL");
Signature · 1 line
2.11.0
#1 lore raw
Quoted 4 lines · Daniel Axtens

This fixes the following warning in an allmodconfig build:
WARNING: modpost: missing MODULE_LICENSE() in drivers/gpio/gpio-iop.o

Someone else patche this too!

Thanks anyways!

Yours,
Linus Walleij