diff options
| author | Nick Alcock <[email protected]> | 2023-03-07 18:01:26 +0000 |
|---|---|---|
| committer | Luis Chamberlain <[email protected]> | 2023-04-13 20:13:51 +0000 |
| commit | 5ba4b11a8da728fe6e7c37a6799fd0cc1803157c (patch) | |
| tree | fad8106d08579ed7193ab0134efd7cae8bfb627b /drivers/clocksource/timer-ti-dm.c | |
| parent | clocksource/drivers/timer-tegra186: remove MODULE_LICENSE in non-modules (diff) | |
| download | kernel-5ba4b11a8da728fe6e7c37a6799fd0cc1803157c.tar.gz kernel-5ba4b11a8da728fe6e7c37a6799fd0cc1803157c.zip | |
clocksource: 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: Daniel Lezcano <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Signed-off-by: Luis Chamberlain <[email protected]>
Diffstat (limited to 'drivers/clocksource/timer-ti-dm.c')
| -rw-r--r-- | drivers/clocksource/timer-ti-dm.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/clocksource/timer-ti-dm.c b/drivers/clocksource/timer-ti-dm.c index b24b903a8822..1eb39834bad4 100644 --- a/drivers/clocksource/timer-ti-dm.c +++ b/drivers/clocksource/timer-ti-dm.c @@ -1283,5 +1283,4 @@ static struct platform_driver omap_dm_timer_driver = { module_platform_driver(omap_dm_timer_driver); MODULE_DESCRIPTION("OMAP Dual-Mode Timer Driver"); -MODULE_LICENSE("GPL"); MODULE_AUTHOR("Texas Instruments Inc"); |
