]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
[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 ec249d2db633edb68d57ad22f8f27d42e2c8e5f4..d883e1b8bb8c2ec09ec71b5eb64c660a7b3c571c 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);