projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eceab4a
)
[ARM] Initialise SA1111 core before SA1111 PCMCIA
author
Russell King
<rmk@dyn-67.arm.linux.org.uk>
Tue, 15 Nov 2005 19:04:22 +0000
(19:04 +0000)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Tue, 15 Nov 2005 19:04:22 +0000
(19:04 +0000)
This avoids a BUG_ON with kref.c when SA1111 tries to register
a driver with an unregistered bus type.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/common/sa1111.c
patch
|
blob
|
history
diff --git
a/arch/arm/common/sa1111.c
b/arch/arm/common/sa1111.c
index 7b07acb03f3ba35acad08a2241cd5a3b62619999..39a6eea300a265b0c8d7705b032710c8d9db7134 100644
(file)
--- a/
arch/arm/common/sa1111.c
+++ b/
arch/arm/common/sa1111.c
@@
-1266,7
+1266,7
@@
static void __exit sa1111_exit(void)
bus_unregister(&sa1111_bus_type);
}
-
module_init
(sa1111_init);
+
subsys_initcall
(sa1111_init);
module_exit(sa1111_exit);
MODULE_DESCRIPTION("Intel Corporation SA1111 core driver");