diff options
author | Dan Williams <dan.j.williams@intel.com> | 2008-11-06 20:47:17 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-10 18:01:03 -0500 |
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: <stable@kernel.org>
Reported-and-tested-by: Mark Rustad <mark_rustad@Xiotech.com>
Acked-by: Maciej Sosnowski <maciej.sosnowski@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-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) | |||
270 | dca_sysfs_exit(); | 270 | dca_sysfs_exit(); |
271 | } | 271 | } |
272 | 272 | ||
273 | module_init(dca_init); | 273 | subsys_initcall(dca_init); |
274 | module_exit(dca_exit); | 274 | module_exit(dca_exit); |
275 | 275 | ||