Skip to contentSkip to conversation

gpio: ath79: add MODULE_LICENSE

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

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gpio: ath79: add MODULE_LICENSE

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

---
 drivers/gpio/gpio-ath79.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/gpio/gpio-ath79.c +2 -0
index 5fad89dfab7e..f97c32b873b9 100644
@@ -324,3 +324,5 @@ static struct platform_driver ath79_gpio_driver = {
 };
 
 module_platform_driver(ath79_gpio_driver);
+
+MODULE_LICENSE("GPL v2");
Signature · 1 line
2.11.0
#1 lore raw
Quoted 4 lines · Daniel Axtens

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

I already got some other patch for this but thanks anyway!

Yours,
Linus Walleij