aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm/mach-pxa/zeus.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/zeus.c b/arch/arm/mach-pxa/zeus.c
index 9c2ec776f601..765e6189f7ba 100644
--- a/arch/arm/mach-pxa/zeus.c
+++ b/arch/arm/mach-pxa/zeus.c
@@ -621,11 +621,15 @@ static struct pxa2xx_udc_mach_info zeus_udc_info = {
621 .udc_command = zeus_udc_command, 621 .udc_command = zeus_udc_command,
622}; 622};
623 623
624#ifdef CONFIG_PM
624static void zeus_power_off(void) 625static void zeus_power_off(void)
625{ 626{
626 local_irq_disable(); 627 local_irq_disable();
627 pxa27x_cpu_suspend(PWRMODE_DEEPSLEEP); 628 pxa27x_cpu_suspend(PWRMODE_DEEPSLEEP);
628} 629}
630#else
631#define zeus_power_off NULL
632#endif
629 633
630#ifdef CONFIG_APM_EMULATION 634#ifdef CONFIG_APM_EMULATION
631static void zeus_get_power_status(struct apm_power_info *info) 635static void zeus_get_power_status(struct apm_power_info *info)