From: 黄涛 Date: Tue, 17 Jun 2014 02:44:17 +0000 (+0800) Subject: ARM: rockchip: rockchip_pm: fix compilation warning X-Git-Tag: firefly_0821_release~5079 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=05fadc457ddfa8e632eafe36e0a715a7c08318d7;p=firefly-linux-kernel-4.4.55.git ARM: rockchip: rockchip_pm: fix compilation warning --- diff --git a/arch/arm/mach-rockchip/rockchip_pm.c b/arch/arm/mach-rockchip/rockchip_pm.c index 2605f3f1280e..30c57a1303b7 100755 --- a/arch/arm/mach-rockchip/rockchip_pm.c +++ b/arch/arm/mach-rockchip/rockchip_pm.c @@ -416,10 +416,9 @@ static int rk_lpmode_enter(unsigned long arg) int cpu_suspend(unsigned long arg, int (*fn)(unsigned long)); -static u32 test_count=0; static int rkpm_enter(suspend_state_t state) { - + //static u32 test_count=0; // printk(KERN_DEBUG"pm: "); printk("%s:\n",__FUNCTION__); //printk("pm test times=%d\n",++test_count); @@ -505,12 +504,14 @@ static int rkpm_enter(suspend_state_t state) return 0; } +#if 0 static int rkpm_enter_tst(void) { return rkpm_enter(0); } +#endif static int rkpm_suspend_prepare(void) {