]> git.neil.brown.name Git - history.git/commitdiff
Sparc64: Make pcibios_init a subsys_initcall.
authorDavid S. Miller <davem@nuts.ninka.net>
Wed, 8 May 2002 19:11:31 +0000 (12:11 -0700)
committerDavid S. Miller <davem@nuts.ninka.net>
Wed, 8 May 2002 19:11:31 +0000 (12:11 -0700)
arch/sparc64/kernel/pci.c

index f1f8492cd01fb51d8e4d396fbc81cafcc10e761c..f21d155c68c0668e6c2eca7be18fa77255cf2fcd 100644 (file)
@@ -181,7 +181,7 @@ extern void rs_init(void);
 extern void clock_probe(void);
 extern void power_init(void);
 
-void __init pcibios_init(void)
+static void __init pcibios_init(void)
 {
        pci_controller_probe();
        if (pci_controller_root == NULL)
@@ -199,6 +199,8 @@ void __init pcibios_init(void)
        power_init();
 }
 
+subsys_initcall(pcibios_init);
+
 struct pci_fixup pcibios_fixups[] = {
        { 0 }
 };