mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 04:18:39 +08:00
[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:
parent
12ccea24e3
commit
1207e79556
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user