From: Dan Williams Date: Fri, 7 Nov 2008 01:47:17 +0000 (+0000) Subject: [4/4] dca: fixup initialization dependency X-Git-Tag: v2.6.28-rc5~90^2~7 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=1207e795568a368928dfd23d6817e47f2e8097e3;p=linux-2.6-omap-h63xx.git [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: Reported-and-tested-by: Mark Rustad Acked-by: Maciej Sosnowski Signed-off-by: Dan Williams Signed-off-by: David S. Miller --- 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);