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:
2a4ff05
)
rk30: pm: fix link error when build without KEYS_RK29
author
黄涛
<huangtao@rock-chips.com>
Fri, 24 May 2013 08:28:19 +0000
(16:28 +0800)
committer
黄涛
<huangtao@rock-chips.com>
Fri, 24 May 2013 08:28:19 +0000
(16:28 +0800)
arch/arm/mach-rk30/pm.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rk30/pm.c
b/arch/arm/mach-rk30/pm.c
index aa6009cfb637ff48594e0607e0646905ef873f86..6ff5a64d901e8ec6a3e5e46efcbe017208830e88 100755
(executable)
--- a/
arch/arm/mach-rk30/pm.c
+++ b/
arch/arm/mach-rk30/pm.c
@@
-1076,12
+1076,13
@@
static int rk30_pm_prepare(void)
static void rk30_pm_finish(void)
{
enable_hlt();
+#ifdef CONFIG_KEYS_RK29
if(rk_soc_pm_ctr_bits_check(1<<RK_PM_CTR_WAKE_UP_KEY))
{
rk28_send_wakeup_key();
printk("rk30_pm_finish rk28_send_wakeup_key\n");
}
-
+#endif
}
static struct platform_suspend_ops rk30_pm_ops = {