Commit 67fa9ad1 authored by Paul Mackerras's avatar Paul Mackerras Committed by Paul Mackerras

PPC32: add a subsys_initcall so pcibios_init gets called

parent b39daff5
...@@ -1025,7 +1025,7 @@ pci_create_OF_bus_map(void) ...@@ -1025,7 +1025,7 @@ pci_create_OF_bus_map(void)
} }
#endif /* CONFIG_ALL_PPC */ #endif /* CONFIG_ALL_PPC */
void __init static int __init
pcibios_init(void) pcibios_init(void)
{ {
struct pci_controller *hose; struct pci_controller *hose;
...@@ -1070,8 +1070,12 @@ pcibios_init(void) ...@@ -1070,8 +1070,12 @@ pcibios_init(void)
/* Call machine dependent post-init code */ /* Call machine dependent post-init code */
if (ppc_md.pcibios_after_init) if (ppc_md.pcibios_after_init)
ppc_md.pcibios_after_init(); ppc_md.pcibios_after_init();
return 0;
} }
subsys_initcall(pcibios_init);
unsigned char __init unsigned char __init
common_swizzle(struct pci_dev *dev, unsigned char *pinp) common_swizzle(struct pci_dev *dev, unsigned char *pinp)
{ {
......
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