diff options
author | Eric Miao <eric.y.miao@gmail.com> | 2011-09-11 17:19:11 +0800 |
---|---|---|
committer | Eric Miao <eric.y.miao@gmail.com> | 2011-10-08 21:02:44 +0800 |
commit | ba4a90a6d86a428c295775b46e653ab8f8e459b8 (patch) | |
tree | 7882cd7abce23eca89d74dc61fba5fab3a64712a /arch/arm/mach-pxa/z2.c | |
parent | e227e88ae46e921f608b056e27e1d8704b7d12fa (diff) |
ARM: pxa/z2: fix building error of pxa27x_cpu_suspend() no longer available
Cc: Vasily Khoruzhick <anarsoul@gmail.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Diffstat (limited to 'arch/arm/mach-pxa/z2.c')
-rw-r--r-- | arch/arm/mach-pxa/z2.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-pxa/z2.c b/arch/arm/mach-pxa/z2.c index 6c9275a20c9..a82d4207f23 100644 --- a/arch/arm/mach-pxa/z2.c +++ b/arch/arm/mach-pxa/z2.c @@ -686,7 +686,8 @@ static void z2_power_off(void) */ PSPR = 0x0; local_irq_disable(); - pxa27x_cpu_suspend(PWRMODE_DEEPSLEEP, PLAT_PHYS_OFFSET - PAGE_OFFSET); + pxa27x_set_pwrmode(PWRMODE_DEEPSLEEP); + pxa27x_cpu_pm_enter(PM_SUSPEND_MEM); } #else #define z2_power_off NULL |