mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
fixed not define CONFIG_PM warning
This commit is contained in:
3
arch/arm/mach-rockchip/rk3188.c
Normal file → Executable file
3
arch/arm/mach-rockchip/rk3188.c
Normal file → Executable file
@@ -312,8 +312,9 @@ static void rk3188_restart(char mode, const char *cmd)
|
||||
writel_relaxed(0xeca8, RK_CRU_VIRT + RK3188_CRU_GLB_SRST_SND);
|
||||
dsb();
|
||||
}
|
||||
|
||||
#ifdef CONFIG_PM
|
||||
static void __init rk3188_init_suspend(void);
|
||||
#endif
|
||||
DT_MACHINE_START(RK3188_DT, "RK30board")
|
||||
.smp = smp_ops(rockchip_smp_ops),
|
||||
.map_io = rk3188_dt_map_io,
|
||||
|
||||
@@ -489,9 +489,9 @@ static void __init rk3288_init_cpuidle(void)
|
||||
if (ret)
|
||||
pr_err("%s: failed to register cpuidle driver: %d\n", __func__, ret);
|
||||
}
|
||||
|
||||
#ifdef CONFIG_PM
|
||||
static void __init rk3288_init_suspend(void);
|
||||
|
||||
#endif
|
||||
static void __init rk3288_init_late(void)
|
||||
{
|
||||
#ifdef CONFIG_PM
|
||||
|
||||
Reference in New Issue
Block a user