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>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user