clk: keystone: add missing MODULE_LICENSE
Subsystems (2)
PATCH 1/1 clk: keystone: add missing MODULE_LICENSE
A randconfig build showed that two clk modules have no license tag:
WARNING: modpost: missing MODULE_LICENSE() in drivers/clk/keystone/gate.o see include/linux/module.h for more information
WARNING: modpost: missing MODULE_LICENSE() in drivers/clk/keystone/pll.o see include/linux/module.h for more information
Add the appropriate information from the comment at the start of the two files.
---
I had not seen this until today, no idea why it showed up now on arm64.
--- drivers/clk/keystone/gate.c | 5 +++++ drivers/clk/keystone/pll.c | 5 +++++ 2 files changed, 10 insertions(+)
drivers/clk/keystone/gate.c +5 -0
@@ -266,3 +266,8 @@ static void __init of_keystone_psc_clk_init(struct device_node *node) }CLK_OF_DECLARE (keystone_gate_clk,"ti,keystone,psc-clock" , of_keystone_psc_clk_init); + +MODULE_LICENSE ("GPL" ); +MODULE_DESCRIPTION ("Clock driver for Keystone 2 based devices" ); +MODULE_AUTHOR ("Murali Karicheri <[email protected]>" ); +MODULE_AUTHOR ("Santosh Shilimkar <[email protected]>" );
drivers/clk/keystone/pll.c +5 -0
@@ -338,3 +338,8 @@ static void __init of_pll_mux_clk_init(struct device_node *node)pr_err ("%s: error registering mux %s\n" , __func__, clk_name); }CLK_OF_DECLARE (pll_mux_clock,"ti,keystone,pll-mux-clock" , of_pll_mux_clk_init); + +MODULE_LICENSE ("GPL" ); +MODULE_DESCRIPTION ("PLL clock driver for Keystone devices" ); +MODULE_AUTHOR ("Murali Karicheri <[email protected]>" ); +MODULE_AUTHOR ("Santosh Shilimkar <[email protected]>" );
Signature · 1 line
2.18.0
Quoted 7 lines · Arnd Bergmann
A randconfig build showed that two clk modules have no license tag:
WARNING: modpost: missing
MODULE_LICENSE()indrivers/clk/keystone/gate.oseeinclude/linux/module.hfor more information
WARNING: modpost: missingMODULE_LICENSE()indrivers/clk/keystone/pll.oseeinclude/linux/module.hfor more information
Quoted 5 lines
Add the appropriate information from the comment at the start of the two files.
Signed-off-by Arnd Bergmann <[email protected]>---
Thanks Arnd.
Quoting Arnd Bergmann (2018-10-05 09:11:15)
Quoted 7 lines
A randconfig build showed that two clk modules have no license tag:
WARNING: modpost: missing
MODULE_LICENSE()indrivers/clk/keystone/gate.oseeinclude/linux/module.hfor more information
WARNING: modpost: missingMODULE_LICENSE()indrivers/clk/keystone/pll.oseeinclude/linux/module.hfor more information
Quoted 5 lines
Add the appropriate information from the comment at the start of the two files.
Signed-off-by Arnd Bergmann <[email protected]>---
Applied to clk-next