Commit 72724382 authored by Russell King's avatar Russell King Committed by Russell King

[ARM] Initialise SA1111 core before SA1111 PCMCIA

This avoids a BUG_ON with kref.c when SA1111 tries to register
a driver with an unregistered bus type.
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent eceab4ac
...@@ -1266,7 +1266,7 @@ static void __exit sa1111_exit(void) ...@@ -1266,7 +1266,7 @@ static void __exit sa1111_exit(void)
bus_unregister(&sa1111_bus_type); bus_unregister(&sa1111_bus_type);
} }
module_init(sa1111_init); subsys_initcall(sa1111_init);
module_exit(sa1111_exit); module_exit(sa1111_exit);
MODULE_DESCRIPTION("Intel Corporation SA1111 core driver"); MODULE_DESCRIPTION("Intel Corporation SA1111 core 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