OSDN Git Service

gpio: ath79: add missing MODULE_DESCRIPTION/LICENSE
authorJesse Chan <jc@linux.com>
Mon, 20 Nov 2017 20:54:26 +0000 (12:54 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 3 Feb 2018 16:05:35 +0000 (17:05 +0100)
commite29997d55268c9d4d4fc2bb7833f83dc5b220cd5
tree1c2760338192d78ae9c90af2c53c00bd4fb16308
parentcb1a0b51d1031ce335d16d7528cace677f105106
gpio: ath79: add missing MODULE_DESCRIPTION/LICENSE

commit 539340f37e6d6ed4cd93e8e18c9b2e4eafd4b842 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpio/gpio-ath79.c