Skip to content

Commit 1207e79

Browse files
djbwdavem330
authored andcommitted
[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>
1 parent 12ccea2 commit 1207e79

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/dca/dca-core.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,6 @@ static void __exit dca_exit(void)
270270
dca_sysfs_exit();
271271
}
272272

273-
module_init(dca_init);
273+
subsys_initcall(dca_init);
274274
module_exit(dca_exit);
275275

0 commit comments

Comments
 (0)