summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-ath79.c
diff options
context:
space:
mode:
authorJesse Chan <jc@linux.com>2017-11-20 12:54:26 -0800
committerLinus Walleij <linus.walleij@linaro.org>2017-12-02 22:42:22 +0100
commit539340f37e6d6ed4cd93e8e18c9b2e4eafd4b842 (patch)
tree40498a5ec71bfff466069b7abcc6e529fd45782e /drivers/gpio/gpio-ath79.c
parent97b03136e1b637d7a9d2274c099e44ecf23f1103 (diff)
downloadop-kernel-dev-539340f37e6d6ed4cd93e8e18c9b2e4eafd4b842.zip
op-kernel-dev-539340f37e6d6ed4cd93e8e18c9b2e4eafd4b842.tar.gz
gpio: ath79: add missing MODULE_DESCRIPTION/LICENSE
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>
Diffstat (limited to 'drivers/gpio/gpio-ath79.c')
-rw-r--r--drivers/gpio/gpio-ath79.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpio/gpio-ath79.c b/drivers/gpio/gpio-ath79.c
index 5fad89d..3ae7c18 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");
OpenPOWER on IntegriCloud