[4/4] dca: fixup initialization dependency
authorDan Williams <dan.j.williams@intel.com>
Fri, 7 Nov 2008 01:47:17 +0000 (01:47 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 Nov 2008 23:01:03 +0000 (15:01 -0800)
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>
drivers/dca/dca-core.c

index ec249d2..d883e1b 100644 (file)
@@ -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);