summaryrefslogtreecommitdiffstats
path: root/arch/x86/pci
diff options
context:
space:
mode:
authorAlexander Kuleshov <kuleshovmail@gmail.com>2015-10-09 00:51:46 +0600
committerBjorn Helgaas <bhelgaas@google.com>2015-10-09 18:34:48 -0500
commit68d0d9794864a6bfbc6f88bb0ec980400bc17922 (patch)
tree403330e16700ce0887a841e79132739c272205ca /arch/x86/pci
parentb4eb6cdbbd13698704863f680c643c569909e1c2 (diff)
downloadop-kernel-dev-68d0d9794864a6bfbc6f88bb0ec980400bc17922.zip
op-kernel-dev-68d0d9794864a6bfbc6f88bb0ec980400bc17922.tar.gz
x86/PCI: Make pci_subsys_init() static
The pci_subsys_init() is a subsys_initcall that can be declared static. Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'arch/x86/pci')
-rw-r--r--arch/x86/pci/legacy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/pci/legacy.c b/arch/x86/pci/legacy.c
index 5b662c0..ea6f380 100644
--- a/arch/x86/pci/legacy.c
+++ b/arch/x86/pci/legacy.c
@@ -54,7 +54,7 @@ void pcibios_scan_specific_bus(int busn)
}
EXPORT_SYMBOL_GPL(pcibios_scan_specific_bus);
-int __init pci_subsys_init(void)
+static int __init pci_subsys_init(void)
{
/*
* The init function returns an non zero value when
OpenPOWER on IntegriCloud