diff options
author | Alexander Kuleshov <kuleshovmail@gmail.com> | 2015-10-09 00:51:46 +0600 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2015-10-09 18:34:48 -0500 |
commit | 68d0d9794864a6bfbc6f88bb0ec980400bc17922 (patch) | |
tree | 403330e16700ce0887a841e79132739c272205ca /arch/x86/pci | |
parent | b4eb6cdbbd13698704863f680c643c569909e1c2 (diff) | |
download | lwn-68d0d9794864a6bfbc6f88bb0ec980400bc17922.tar.gz lwn-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/x86/pci')
-rw-r--r-- | arch/x86/pci/legacy.c | 2 |
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 |