mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 11:50:43 +09:00
char: misc: Call misc_init() early when CONFIG_ROCKCHIP_THUNDER_BOOT=y
rfkill_init() depends on misc_init() to init misc_class. But rfkill_init() and misc_init() are both in the same subsys_initcall level. Fix this by move misc_init() to the arch_initcall_sync level. Change-Id: I7266c2787c04a42886816b0ef11f3ed968ebf557 Signed-off-by: Tao Huang <huangtao@rock-chips.com>
This commit is contained in:
@@ -289,4 +289,8 @@ fail_remove:
|
||||
remove_proc_entry("misc", NULL);
|
||||
return err;
|
||||
}
|
||||
#ifdef CONFIG_ROCKCHIP_THUNDER_BOOT
|
||||
arch_initcall_sync(misc_init);
|
||||
#else
|
||||
subsys_initcall(misc_init);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user