diff options
author | Dan Williams <[email protected]> | 2008-11-07 01:47:17 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2008-11-10 15:01:03 -0800 |
commit | 1207e795568a368928dfd23d6817e47f2e8097e3 (patch) | |
tree | 72811e472d55ba6b4503bb7e1d3f99a434285bf6 | |
parent | 12ccea24e309d815d058cdc6ee8bf2c4b85f0c5f (diff) |
[4/4] dca: fixup initialization dependency
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]>
-rw-r--r-- | drivers/dca/dca-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dca/dca-core.c b/drivers/dca/dca-core.c index ec249d2db633..d883e1b8bb8c 100644 --- 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); |