summaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/pci.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-08-30 01:18:56 -0700
committerDavid S. Miller <davem@davemloft.net>2008-08-30 01:18:56 -0700
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)
pbm->scan_bus(pbm);
}
-extern void power_init(void);
-
static int __init pcibios_init(void)
{
pci_controller_probe();
@@ -809,8 +807,6 @@ static int __init pcibios_init(void)
pci_scan_each_controller_bus();
- power_init();
-
return 0;
}