gpio: ath79: add missing MODULE_DESCRIPTION/LICENSE
Subsystems (2)
PATCH 1/1 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.
--- drivers/gpio/gpio-ath79.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/gpio/gpio-ath79.c +3 -0
@@ -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" );
Signature · 1 line
2.14.1
Quoted 11 lines · On Mon, 20 Nov 2017 12:54:26 -0800 Jesse Chan <[email protected]> wrote:
This change resolves a new compile-time warning
when built as a loadable module:WARNING: modpost: missing
MODULE_LICENSE()indrivers/gpio/gpio-ath79.oseeinclude/linux/module.hfor more informationThis adds the license as "GPL v2", which matches the header of the file.
MODULE_DESCRIPTIONis also added.Signed-off-by Jesse Chan <[email protected]>
Alban
Quoted 11 lines · Jesse Chan
This change resolves a new compile-time warning
when built as a loadable module:WARNING: modpost: missing
MODULE_LICENSE()indrivers/gpio/gpio-ath79.oseeinclude/linux/module.hfor more informationThis adds the license as "GPL v2", which matches the header of the file.
MODULE_DESCRIPTIONis also added.Signed-off-by Jesse Chan <[email protected]>
Patch applied with ACK.
Yours,
Linus Walleij