summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Gortmaker2016-08-22 23:59:41 +0200
committerBjorn Helgaas2016-08-23 22:13:27 +0200
commit18224b3a732156d68d4ce5a74aa9148d922d08eb (patch)
tree6ff498b2a07a28b518a2b1ff8c6193f91f90c772
parentLinux 4.8-rc1 (diff)
downloadkernel-qcow2-linux-18224b3a732156d68d4ce5a74aa9148d922d08eb.tar.gz
kernel-qcow2-linux-18224b3a732156d68d4ce5a74aa9148d922d08eb.tar.xz
kernel-qcow2-linux-18224b3a732156d68d4ce5a74aa9148d922d08eb.zip
PCI: altera: Make MSI explicitly non-modular
This code is not being built as a module by anyone: drivers/pci/host/Kconfig:config PCIE_ALTERA_MSI drivers/pci/host/Kconfig: bool "Altera PCIe MSI feature" Remove uses of MODULE_DESCRIPTION(), MODULE_AUTHOR(), MODULE_LICENSE(), etc., so that when reading the driver there is no doubt it is builtin-only. The information is preserved in comments at the top of the file. [bhelgaas: changelog] Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> CC: Ley Foon Tan <lftan@altera.com>
-rw-r--r--drivers/pci/host/pcie-altera-msi.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/pci/host/pcie-altera-msi.c b/drivers/pci/host/pcie-altera-msi.c
index 99177f4ccde2..369e033449c6 100644
--- a/drivers/pci/host/pcie-altera-msi.c
+++ b/drivers/pci/host/pcie-altera-msi.c
@@ -1,4 +1,8 @@
/*
+ * Altera PCIe MSI support
+ *
+ * Author: Ley Foon Tan <lftan@altera.com>
+ *
* Copyright Altera Corporation (C) 2013-2015. All rights reserved
*
* This program is free software; you can redistribute it and/or modify it
@@ -16,7 +20,7 @@
#include <linux/interrupt.h>
#include <linux/irqchip/chained_irq.h>
-#include <linux/module.h>
+#include <linux/init.h>
#include <linux/msi.h>
#include <linux/of_address.h>
#include <linux/of_irq.h>
@@ -308,7 +312,3 @@ static int __init altera_msi_init(void)
return platform_driver_register(&altera_msi_driver);
}
subsys_initcall(altera_msi_init);
-
-MODULE_AUTHOR("Ley Foon Tan <lftan@altera.com>");
-MODULE_DESCRIPTION("Altera PCIe MSI support");
-MODULE_LICENSE("GPL v2");