PM: EM: Call em_debug_init() later when CONFIG_ROCKCHIP_THUNDER_BOOT=y

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I893ea1089cf807d51983d70e9323f4a3b4f2b000
This commit is contained in:
Tao Huang 2021-03-04 15:53:01 +08:00
parent a611762d20
commit 8bb5326f25

View File

@ -74,7 +74,11 @@ static int __init em_debug_init(void)
return 0;
}
#ifdef CONFIG_ROCKCHIP_THUNDER_BOOT
core_initcall_sync(em_debug_init);
#else
core_initcall(em_debug_init);
#endif
#else /* CONFIG_DEBUG_FS */
static void em_debug_create_pd(struct em_perf_domain *pd, int cpu) {}
#endif