rk30: pm: fix link error when build without KEYS_RK29

This commit is contained in:
黄涛
2013-05-24 16:28:19 +08:00
parent 2a4ff059eb
commit 2a6d243d71

View File

@@ -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 = {