[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>
This commit is contained in:
Dan Williams 2008-11-07 01:47:17 +00:00 committed by David S. Miller
parent 12ccea24e3
commit 1207e79556

View 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);