Commit fbbb1244 authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds

[PATCH] sanitize pnp init order

Must be post acpi
parent b431de15
...@@ -164,7 +164,7 @@ static int __init pnp_init(void) ...@@ -164,7 +164,7 @@ static int __init pnp_init(void)
return bus_register(&pnp_bus_type); return bus_register(&pnp_bus_type);
} }
core_initcall(pnp_init); subsys_initcall(pnp_init);
EXPORT_SYMBOL(pnp_protocol_register); EXPORT_SYMBOL(pnp_protocol_register);
EXPORT_SYMBOL(pnp_protocol_unregister); EXPORT_SYMBOL(pnp_protocol_unregister);
......
...@@ -1167,7 +1167,7 @@ int __init isapnp_init(void) ...@@ -1167,7 +1167,7 @@ int __init isapnp_init(void)
return 0; return 0;
} }
subsys_initcall(isapnp_init); device_initcall(isapnp_init);
/* format is: noisapnp */ /* format is: noisapnp */
......
...@@ -120,4 +120,4 @@ static int __init pnp_system_init(void) ...@@ -120,4 +120,4 @@ static int __init pnp_system_init(void)
return pnp_register_driver(&system_pnp_driver); return pnp_register_driver(&system_pnp_driver);
} }
core_initcall(pnp_system_init); subsys_initcall(pnp_system_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