]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
x86/PCI: Make pci_subsys_init() static
authorAlexander Kuleshov <kuleshovmail@gmail.com>
Thu, 8 Oct 2015 18:51:46 +0000 (00:51 +0600)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 9 Oct 2015 23:34:48 +0000 (18:34 -0500)
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>
arch/x86/pci/legacy.c

index 5b662c0faf8c2e1848d15d4dced105db9988c7c8..ea6f3802c17b73e8c622c53f68d2414eeb482f98 100644 (file)
@@ -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