projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b856852
)
ARM: rockchip: rockchip_pm: fix compilation warning
author
黄涛
<huangtao@rock-chips.com>
Tue, 17 Jun 2014 02:44:17 +0000
(10:44 +0800)
committer
黄涛
<huangtao@rock-chips.com>
Tue, 17 Jun 2014 02:44:17 +0000
(10:44 +0800)
arch/arm/mach-rockchip/rockchip_pm.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rockchip/rockchip_pm.c
b/arch/arm/mach-rockchip/rockchip_pm.c
index 2605f3f1280e3538386912701e45c09dc4a0a5da..30c57a1303b7eaba0c339e7a1c7ee7ced6d54cb8 100755
(executable)
--- 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)
{