summaryrefslogtreecommitdiff
path: root/drivers/irqchip/irq-al-fic.c
diff options
context:
space:
mode:
authorNick Alcock <nick.alcock@oracle.com>2023-03-07 21:01:13 +0300
committerLuis Chamberlain <mcgrof@kernel.org>2023-04-13 23:13:50 +0300
commit655cc3a64d5e8c162652eb193ed232b28e8d02a7 (patch)
treeeb902206719209fe7cc588ec79c71431ce3a6a84 /drivers/irqchip/irq-al-fic.c
parent9e0d360fe059ddf6b90ab3baae6eae06a7cc3f01 (diff)
downloadlinux-655cc3a64d5e8c162652eb193ed232b28e8d02a7.tar.xz
irqchip/al-fic: 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 <nick.alcock@oracle.com> Suggested-by: Luis Chamberlain <mcgrof@kernel.org> 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: Talel Shenhar <talel@amazon.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Marc Zyngier <maz@kernel.org> Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Diffstat (limited to 'drivers/irqchip/irq-al-fic.c')
-rw-r--r--drivers/irqchip/irq-al-fic.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/irqchip/irq-al-fic.c b/drivers/irqchip/irq-al-fic.c
index 886de028a901..dfb761e86c9c 100644
--- a/drivers/irqchip/irq-al-fic.c
+++ b/drivers/irqchip/irq-al-fic.c
@@ -26,7 +26,6 @@
MODULE_AUTHOR("Talel Shenhar");
MODULE_DESCRIPTION("Amazon's Annapurna Labs Interrupt Controller Driver");
-MODULE_LICENSE("GPL v2");
enum al_fic_state {
AL_FIC_UNCONFIGURED = 0,