diff options
author | Eric Miao <eric.y.miao@gmail.com> | 2011-09-11 05:19:11 -0400 |
---|---|---|
committer | Eric Miao <eric.y.miao@gmail.com> | 2011-10-08 09:02:44 -0400 |
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 6c9275a20c91..a82d4207f235 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) | |||
686 | */ | 686 | */ |
687 | PSPR = 0x0; | 687 | PSPR = 0x0; |
688 | local_irq_disable(); | 688 | local_irq_disable(); |
689 | pxa27x_cpu_suspend(PWRMODE_DEEPSLEEP, PLAT_PHYS_OFFSET - PAGE_OFFSET); | 689 | pxa27x_set_pwrmode(PWRMODE_DEEPSLEEP); |
690 | pxa27x_cpu_pm_enter(PM_SUSPEND_MEM); | ||
690 | } | 691 | } |
691 | #else | 692 | #else |
692 | #define z2_power_off NULL | 693 | #define z2_power_off NULL |