Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

pinctrl: pxa: pxa2xx: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE

This change resolves a new compile-time warning
when built as a loadable module:

WARNING: modpost: missing MODULE_LICENSE() in drivers/pinctrl/pxa/pinctrl-pxa2xx.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 and MODULE_AUTHOR are also added.

Signed-off-by: Jesse Chan <jc@linux.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

authored by

Jesse Chan and committed by
Linus Walleij
0b9335cb 9c957fce

+4
+4
drivers/pinctrl/pxa/pinctrl-pxa2xx.c
··· 436 436 return 0; 437 437 } 438 438 EXPORT_SYMBOL_GPL(pxa2xx_pinctrl_exit); 439 + 440 + MODULE_AUTHOR("Robert Jarzmik <robert.jarzmik@free.fr>"); 441 + MODULE_DESCRIPTION("Marvell PXA2xx pinctrl driver"); 442 + MODULE_LICENSE("GPL v2");