aboutsummaryrefslogtreecommitdiff
path: root/drivers/clk/microchip/clk-mpfs-ccc.c
diff options
context:
space:
mode:
authorNick Alcock <[email protected]>2023-02-22 12:14:38 +0000
committerStephen Boyd <[email protected]>2023-03-06 11:29:18 -0800
commit94511ebc6810142eb36c8b935e1713a15db94d28 (patch)
treeedce5ec115a345bad51dfee0f81b4e608f5de519 /drivers/clk/microchip/clk-mpfs-ccc.c
parent9d941b8abf863751c1c634d96539c3fab220a99c (diff)
kbuild, clk: remove MODULE_LICENSE in non-modules
Since commit 8b41fc4454e ("kbuild: create modules.builtin without Makefile.modbuiltin or tristate.conf"), MODULE_LICENSE declarations are used to identify modules. As a consequence, uses of the macro in non-modules will cause modprobe to misidentify their containing object file as a module when it is not (false positives), and modprobe might succeed rather than failing with a suitable error message. So remove it in the files in this commit, none of which can be built as modules. Signed-off-by: Nick Alcock <[email protected]> Suggested-by: Luis Chamberlain <[email protected]> Cc: Luis Chamberlain <[email protected]> Cc: [email protected] Cc: [email protected] Cc: Hitomi Hasegawa <[email protected]> Cc: Michael Turquette <[email protected]> Cc: Stephen Boyd <[email protected]> Cc: [email protected] Link: https://lore.kernel.org/r/[email protected] Acked-by: Conor Dooley <[email protected]> Reviewed-by: Conor Dooley <[email protected]> Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'drivers/clk/microchip/clk-mpfs-ccc.c')
-rw-r--r--drivers/clk/microchip/clk-mpfs-ccc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/clk/microchip/clk-mpfs-ccc.c b/drivers/clk/microchip/clk-mpfs-ccc.c
index 0ddc73e07be4..bce61c45e967 100644
--- a/drivers/clk/microchip/clk-mpfs-ccc.c
+++ b/drivers/clk/microchip/clk-mpfs-ccc.c
@@ -291,4 +291,3 @@ module_exit(clk_ccc_exit);
MODULE_DESCRIPTION("Microchip PolarFire SoC Clock Conditioning Circuitry Driver");
MODULE_AUTHOR("Conor Dooley <[email protected]>");
-MODULE_LICENSE("GPL");