Sfoglia il codice sorgente

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>
Alexander Kuleshov 9 anni fa
parent
commit
68d0d97948
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      arch/x86/pci/legacy.c

+ 1 - 1
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