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

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.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Santosh Shilimkar <ssantosh@krenel.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>

authored by

Arnd Bergmann and committed by
Stephen Boyd
9e6dbc3d 2f149e6e

+10
+5
drivers/clk/keystone/gate.c
··· 266 266 } 267 267 CLK_OF_DECLARE(keystone_gate_clk, "ti,keystone,psc-clock", 268 268 of_keystone_psc_clk_init); 269 + 270 + MODULE_LICENSE("GPL"); 271 + MODULE_DESCRIPTION("Clock driver for Keystone 2 based devices"); 272 + MODULE_AUTHOR("Murali Karicheri <m-karicheri2@ti.com>"); 273 + MODULE_AUTHOR("Santosh Shilimkar <santosh.shilimkar@ti.com>");
+5
drivers/clk/keystone/pll.c
··· 338 338 pr_err("%s: error registering mux %s\n", __func__, clk_name); 339 339 } 340 340 CLK_OF_DECLARE(pll_mux_clock, "ti,keystone,pll-mux-clock", of_pll_mux_clk_init); 341 + 342 + MODULE_LICENSE("GPL"); 343 + MODULE_DESCRIPTION("PLL clock driver for Keystone devices"); 344 + MODULE_AUTHOR("Murali Karicheri <m-karicheri2@ti.com>"); 345 + MODULE_AUTHOR("Santosh Shilimkar <santosh.shilimkar@ti.com>");