fixed not define CONFIG_PM warning

This commit is contained in:
xxx
2014-06-26 18:15:27 +08:00
parent 1c10453a00
commit 6aaca10464
2 changed files with 4 additions and 3 deletions

3
arch/arm/mach-rockchip/rk3188.c Normal file → Executable file
View 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,

View File

@@ -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