Commit 3836c942 authored by Patrick Mochel's avatar Patrick Mochel

s/subsys_initcall/postcore_initcall/ for sys_bys and pci, so they get...

s/subsys_initcall/postcore_initcall/ for sys_bys and pci, so they get initialized early enough for arch and subsys initcalls to use them.
parent 45311297
...@@ -44,6 +44,6 @@ static int sys_bus_init(void) ...@@ -44,6 +44,6 @@ static int sys_bus_init(void)
return device_register(&system_bus); return device_register(&system_bus);
} }
subsys_initcall(sys_bus_init); postcore_initcall(sys_bus_init);
EXPORT_SYMBOL(register_sys_device); EXPORT_SYMBOL(register_sys_device);
EXPORT_SYMBOL(unregister_sys_device); EXPORT_SYMBOL(unregister_sys_device);
...@@ -204,7 +204,7 @@ static int __init pci_driver_init(void) ...@@ -204,7 +204,7 @@ static int __init pci_driver_init(void)
return bus_register(&pci_bus_type); return bus_register(&pci_bus_type);
} }
subsys_initcall(pci_driver_init); postcore_initcall(pci_driver_init);
EXPORT_SYMBOL(pci_match_device); EXPORT_SYMBOL(pci_match_device);
EXPORT_SYMBOL(pci_register_driver); EXPORT_SYMBOL(pci_register_driver);
......
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