aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/pci.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-08-30 04:18:56 -0400
committerDavid S. Miller <davem@davemloft.net>2008-08-30 04:18:56 -0400
commitc510b9bfa1c34c1452f7a4389ff6de4f72a78193 (patch)
treedaf2b427a463ae4355b8f91e304f4e6fa700d1df /arch/sparc64/kernel/pci.c
parente0ac612e6997429a21887475709ca6d6224971f2 (diff)
sparc64: Don't invoke power_init() from pcibios_init().
That's just silly, use device_initcall() instead. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/pci.c')
-rw-r--r--arch/sparc64/kernel/pci.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/sparc64/kernel/pci.c b/arch/sparc64/kernel/pci.c
index 218778617ee..83c50a62970 100644
--- a/arch/sparc64/kernel/pci.c
+++ b/arch/sparc64/kernel/pci.c
@@ -799,8 +799,6 @@ static void __init pci_scan_each_controller_bus(void)
799 pbm->scan_bus(pbm); 799 pbm->scan_bus(pbm);
800} 800}
801 801
802extern void power_init(void);
803
804static int __init pcibios_init(void) 802static int __init pcibios_init(void)
805{ 803{
806 pci_controller_probe(); 804 pci_controller_probe();
@@ -809,8 +807,6 @@ static int __init pcibios_init(void)
809 807
810 pci_scan_each_controller_bus(); 808 pci_scan_each_controller_bus();
811 809
812 power_init();
813
814 return 0; 810 return 0;
815} 811}
816 812