linux/drivers/soc/apple
Nick Alcock 87efd0d382 soc: apple: apple-pmgr-pwrstate: remove MODULE_LICENSE in non-modules
Since commit 8b41fc4454 ("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 <nick.alcock@oracle.com>
Suggested-by: Luis Chamberlain <mcgrof@kernel.org>
Reviewed-by: Eric Curtin <ecurtin@redhat.com>
Acked-by: Sven Peter <sven@svenpeter.dev>
Cc: Luis Chamberlain <mcgrof@kernel.org>
Cc: linux-modules@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: Hitomi Hasegawa <hasegawa-hitomi@fujitsu.com>
Cc: Hector Martin <marcan@marcan.st>
Cc: Sven Peter <sven@svenpeter.dev>
Cc: Philipp Zabel <p.zabel@pengutronix.de>
Cc: asahi@lists.linux.dev
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
2023-04-13 13:13:50 -07:00
..
apple-pmgr-pwrstate.c soc: apple: apple-pmgr-pwrstate: remove MODULE_LICENSE in non-modules 2023-04-13 13:13:50 -07:00
Kconfig soc: apple: Add SART driver 2022-05-02 17:24:45 +02:00
Makefile soc: apple: Add SART driver 2022-05-02 17:24:45 +02:00
rtkit-crashlog.c soc: apple: rtkit: Do not copy the reg state structure to the stack 2023-02-13 20:20:34 +01:00
rtkit-internal.h soc: apple: Add RTKit IPC library 2022-05-01 16:55:06 +02:00
rtkit.c soc: apple: rtkit: Export non-devm init/free functions 2023-01-31 20:40:14 +09:00
sart.c soc: apple: sart: Stop casting function pointer signatures 2022-11-28 20:34:09 +09:00