summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAlexander Kuleshov <kuleshovmail@gmail.com>2015-10-08 20:51:46 +0200
committerBjorn Helgaas <bhelgaas@google.com>2015-10-10 01:34:48 +0200
commit68d0d9794864a6bfbc6f88bb0ec980400bc17922 (patch)
tree403330e16700ce0887a841e79132739c272205ca /arch
parentPCI: Add builtin_pci_driver() to avoid registration boilerplate (diff)
downloadlinux-68d0d9794864a6bfbc6f88bb0ec980400bc17922.tar.xz
linux-68d0d9794864a6bfbc6f88bb0ec980400bc17922.zip
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')
-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 5b662c0faf8c..ea6f3802c17b 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