]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: ath79: add missing MODULE_DESCRIPTION/LICENSE
authorJesse Chan <jc@linux.com>
Mon, 20 Nov 2017 20:54:26 +0000 (12:54 -0800)
committerLinus Walleij <linus.walleij@linaro.org>
Sat, 2 Dec 2017 21:42:22 +0000 (22:42 +0100)
commitbfbc9fc2ed4fba808b6dd273f22b004f0be6852a
tree40498a5ec71bfff466069b7abcc6e529fd45782e
parent53546d5c357fa2d316f275ccd4ad5e7e247f55fb
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>
drivers/gpio/gpio-ath79.c