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

pinctrl: mediatek: add pinctrl-mtk-common-v2 module license

Kbuild warns when this file is built as a loadable module:

WARNING: modpost: missing MODULE_LICENSE() in drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.o
see include/linux/module.h for more information

Add the missing license/author/description tags.

Fixes: 8174a8512e3e ("pinctrl: mediatek: make MediaTek pinctrl v2 driver ready for buidling loadable module")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20200505140848.554957-1-arnd@arndb.de
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

authored by

Arnd Bergmann and committed by
Linus Walleij
c7acd6fe 9a0f1341

+4
+4
drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c
··· 993 993 return 0; 994 994 } 995 995 EXPORT_SYMBOL_GPL(mtk_pinconf_adv_drive_get); 996 + 997 + MODULE_LICENSE("GPL v2"); 998 + MODULE_AUTHOR("Sean Wang <sean.wang@mediatek.com>"); 999 + MODULE_DESCRIPTION("Pin configuration library module for mediatek SoCs");