summaryrefslogtreecommitdiffstats
path: root/drivers/dca/dca-core.c
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2008-11-07 02:47:17 +0100
committerDavid S. Miller <davem@davemloft.net>2008-11-11 00:01:03 +0100
commit1207e795568a368928dfd23d6817e47f2e8097e3 (patch)
tree72811e472d55ba6b4503bb7e1d3f99a434285bf6 /drivers/dca/dca-core.c
parent[3/4] I/OAT: fix async_tx.callback checking (diff)
downloadlinux-1207e795568a368928dfd23d6817e47f2e8097e3.tar.xz
linux-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/dca-core.c')
-rw-r--r--drivers/dca/dca-core.c2
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);