]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
clk: keystone: add missing MODULE_LICENSE
authorArnd Bergmann <arnd@arndb.de>
Fri, 5 Oct 2018 16:11:15 +0000 (18:11 +0200)
committerStephen Boyd <sboyd@kernel.org>
Mon, 8 Oct 2018 02:53:28 +0000 (19:53 -0700)
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>
drivers/clk/keystone/gate.c
drivers/clk/keystone/pll.c

index aed5af23895be786db801a2d11360fa3e4a63f2b..b02a262d69cdd5ea14e32452074dc0b4521b89c1 100644 (file)
@@ -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 <m-karicheri2@ti.com>");
+MODULE_AUTHOR("Santosh Shilimkar <santosh.shilimkar@ti.com>");
index e7e840fb74eaf7cf58da79d31fbf8d2dd9daeea2..19c9dc37c58fb44a73d2fa4916ef03e0752a7289 100644 (file)
@@ -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 <m-karicheri2@ti.com>");
+MODULE_AUTHOR("Santosh Shilimkar <santosh.shilimkar@ti.com>");