Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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>

authored by

Dan Williams and committed by
David S. Miller
1207e795 12ccea24

+1 -1
+1 -1
drivers/dca/dca-core.c
··· 270 270 dca_sysfs_exit(); 271 271 } 272 272 273 - module_init(dca_init); 273 + subsys_initcall(dca_init); 274 274 module_exit(dca_exit); 275 275