diff options
author | Dan Williams <dan.j.williams@intel.com> | 2008-11-07 01:47:17 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-10 15:01:03 -0800 |
commit | 1207e795568a368928dfd23d6817e47f2e8097e3 (patch) | |
tree | 72811e472d55ba6b4503bb7e1d3f99a434285bf6 /drivers/dca | |
parent | 12ccea24e309d815d058cdc6ee8bf2c4b85f0c5f (diff) | |
download | kernel-crypto-1207e795568a368928dfd23d6817e47f2e8097e3.tar.gz kernel-crypto-1207e795568a368928dfd23d6817e47f2e8097e3.tar.xz kernel-crypto-1207e795568a368928dfd23d6817e47f2e8097e3.zip |
[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>
Diffstat (limited to 'drivers/dca')
-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 ec249d2db63..d883e1b8bb8 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); |