projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12ccea2
)
[4/4] dca: fixup initialization dependency
author
Dan Williams
<
[email protected]
>
Fri, 7 Nov 2008 01:47:17 +0000
(
01:47
+0000)
committer
David S. Miller
<
[email protected]
>
Mon, 10 Nov 2008 23:01:03 +0000
(15:01 -0800)
Mark dca_init as a subsys_initcall since it needs to be ready to go
before dependent drivers start registering themselves.
Cc: <
[email protected]
>
Reported-and-tested-by: Mark Rustad <
[email protected]
>
Acked-by: Maciej Sosnowski <
[email protected]
>
Signed-off-by: Dan Williams <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/dca/dca-core.c
patch
|
blob
|
history
diff --git
a/drivers/dca/dca-core.c
b/drivers/dca/dca-core.c
index ec249d2db633edb68d57ad22f8f27d42e2c8e5f4..d883e1b8bb8c2ec09ec71b5eb64c660a7b3c571c 100644
(file)
--- a/
drivers/dca/dca-core.c
+++ b/
drivers/dca/dca-core.c
@@
-270,6
+270,6
@@
static void __exit dca_exit(void)
dca_sysfs_exit();
}
-
module_init
(dca_init);
+
subsys_initcall
(dca_init);
module_exit(dca_exit);