mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 04:10:18 +09:00
rk30: pm: fix link error when build without KEYS_RK29
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user