Skip to content

Commit

Permalink
gpio: ath79: add missing MODULE_DESCRIPTION/LICENSE
Browse files Browse the repository at this point in the history
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>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
  • Loading branch information
Jesse Chan authored and Linus Walleij committed Dec 2, 2017
1 parent 97b0313 commit 539340f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/gpio/gpio-ath79.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");

0 comments on commit 539340f

Please sign in to comment.