aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2016-07-02 19:13:34 -0400
committerBjorn Helgaas <bhelgaas@google.com>2016-08-01 13:22:51 -0400
commit50dcd29096cb64ff8c5542f561a8646997a41e73 (patch)
treed5adcef6f10a1449db88ccb675dc8718676a619d
parent0b3cd1643790e3cf13dea709100c1627a4ec937e (diff)
PCI: xgene: Make explicitly non-modular
This code is not being built as a module by anyone: drivers/pci/host/Kconfig:config PCI_XGENE drivers/pci/host/Kconfig: bool "X-Gene PCIe controller" 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. Replace module_platform_driver() with builtin_platform_driver(), which uses the same init level priority, so init ordering is unchanged. [bhelgaas: changelog] Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> CC: Tanmay Inamdar <tinamdar@apm.com>
-rw-r--r--drivers/pci/host/pci-xgene.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/pci/host/pci-xgene.c b/drivers/pci/host/pci-xgene.c
index ae00ce22d5a6..3b473a036ca0 100644
--- a/drivers/pci/host/pci-xgene.c
+++ b/drivers/pci/host/pci-xgene.c
@@ -21,7 +21,7 @@
21#include <linux/io.h> 21#include <linux/io.h>
22#include <linux/jiffies.h> 22#include <linux/jiffies.h>
23#include <linux/memblock.h> 23#include <linux/memblock.h>
24#include <linux/module.h> 24#include <linux/init.h>
25#include <linux/of.h> 25#include <linux/of.h>
26#include <linux/of_address.h> 26#include <linux/of_address.h>
27#include <linux/of_irq.h> 27#include <linux/of_irq.h>
@@ -569,8 +569,4 @@ static struct platform_driver xgene_pcie_driver = {
569 }, 569 },
570 .probe = xgene_pcie_probe_bridge, 570 .probe = xgene_pcie_probe_bridge,
571}; 571};
572module_platform_driver(xgene_pcie_driver); 572builtin_platform_driver(xgene_pcie_driver);
573
574MODULE_AUTHOR("Tanmay Inamdar <tinamdar@apm.com>");
575MODULE_DESCRIPTION("APM X-Gene PCIe driver");
576MODULE_LICENSE("GPL v2");