Commit 273374a0 authored by David S. Miller's avatar David S. Miller

Sparc64: Make pcibios_init return an int.

parent 429cb0e3
...@@ -181,11 +181,11 @@ extern void rs_init(void); ...@@ -181,11 +181,11 @@ extern void rs_init(void);
extern void clock_probe(void); extern void clock_probe(void);
extern void power_init(void); extern void power_init(void);
static void __init pcibios_init(void) static int __init pcibios_init(void)
{ {
pci_controller_probe(); pci_controller_probe();
if (pci_controller_root == NULL) if (pci_controller_root == NULL)
return; return 0;
pci_scan_each_controller_bus(); pci_scan_each_controller_bus();
...@@ -197,6 +197,8 @@ static void __init pcibios_init(void) ...@@ -197,6 +197,8 @@ static void __init pcibios_init(void)
rs_init(); rs_init();
clock_probe(); clock_probe();
power_init(); power_init();
return 0;
} }
subsys_initcall(pcibios_init); subsys_initcall(pcibios_init);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment