Преглед изворни кода

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 пре 10 година
родитељ
комит
68d0d97948
1 измењених фајлова са 1 додато и 1 уклоњено
  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