summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2008-11-07 01:47:17 +0000
committerDavid S. Miller <davem@davemloft.net>2008-11-10 15:01:03 -0800
commit1207e795568a368928dfd23d6817e47f2e8097e3 (patch)
tree72811e472d55ba6b4503bb7e1d3f99a434285bf6
parent12ccea24e309d815d058cdc6ee8bf2c4b85f0c5f (diff)
downloadop-kernel-dev-1207e795568a368928dfd23d6817e47f2e8097e3.zip
op-kernel-dev-1207e795568a368928dfd23d6817e47f2e8097e3.tar.gz
[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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dca/dca-core.c b/drivers/dca/dca-core.c
index ec249d2..d883e1b 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);
OpenPOWER on IntegriCloud