kernel/ksysfs.c: Call ksysfs_init() early when CONFIG_ROCKCHIP_THUNDER_BOOT=y
configfs_init() depends on ksysfs_init() to init kernel_kobj. But configfs_init() and ksysfs_init() are both in the same core_initcall level. Fix this by move ksysfs_init() to the pure_initcall level. Change-Id: Iaa23a25a59b3a133f3cecb396fc69dd7e65d45ad Signed-off-by: Tao Huang <huangtao@rock-chips.com>
This commit is contained in:
@ -268,4 +268,8 @@ exit:
|
||||
return error;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_ROCKCHIP_THUNDER_BOOT
|
||||
pure_initcall(ksysfs_init);
|
||||
#else
|
||||
core_initcall(ksysfs_init);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user