Skip to content

Commit c014377

Browse files
nickalcockjernejsk
authored andcommitted
kbuild, soc: sunxi: sram: remove MODULE_LICENSE in non-modules
Since commit 8b41fc4 ("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: Chen-Yu Tsai <[email protected]> Cc: Jernej Skrabec <[email protected]> Cc: Samuel Holland <[email protected]> Cc: [email protected] Cc: [email protected] Acked-by: Jernej Skrabec <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jernej Skrabec <[email protected]>
1 parent a9c6a1f commit c014377

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/soc/sunxi/sunxi_sram.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,4 +424,3 @@ builtin_platform_driver_probe(sunxi_sram_driver, sunxi_sram_probe);
424424

425425
MODULE_AUTHOR("Maxime Ripard <[email protected]>");
426426
MODULE_DESCRIPTION("Allwinner sunXi SRAM Controller Driver");
427-
MODULE_LICENSE("GPL");

0 commit comments

Comments
 (0)