From: xxx Date: Thu, 26 Jun 2014 10:15:27 +0000 (+0800) Subject: fixed not define CONFIG_PM warning X-Git-Tag: firefly_0821_release~5034 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=6aaca10464aa4b088579ae456dafee460847b283;p=firefly-linux-kernel-4.4.55.git fixed not define CONFIG_PM warning --- diff --git a/arch/arm/mach-rockchip/rk3188.c b/arch/arm/mach-rockchip/rk3188.c old mode 100644 new mode 100755 index feb7563478e1..8d4aaae5321e --- a/arch/arm/mach-rockchip/rk3188.c +++ b/arch/arm/mach-rockchip/rk3188.c @@ -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, diff --git a/arch/arm/mach-rockchip/rk3288.c b/arch/arm/mach-rockchip/rk3288.c index 19788e5ec7f7..616553855ae4 100755 --- a/arch/arm/mach-rockchip/rk3288.c +++ b/arch/arm/mach-rockchip/rk3288.c @@ -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