From 05fadc457ddfa8e632eafe36e0a715a7c08318d7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E9=BB=84=E6=B6=9B?= Date: Tue, 17 Jun 2014 10:44:17 +0800 Subject: [PATCH] ARM: rockchip: rockchip_pm: fix compilation warning --- arch/arm/mach-rockchip/rockchip_pm.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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) { -- 2.34.1