aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/pxa27x.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-pxa/pxa27x.c')
-rw-r--r--arch/arm/mach-pxa/pxa27x.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/mach-pxa/pxa27x.c b/arch/arm/mach-pxa/pxa27x.c
index 9240d37e23fa..203371ab19db 100644
--- a/arch/arm/mach-pxa/pxa27x.c
+++ b/arch/arm/mach-pxa/pxa27x.c
@@ -223,8 +223,6 @@ void pxa27x_cpu_pm_restore(unsigned long *sleep_save)
223void pxa27x_cpu_pm_enter(suspend_state_t state) 223void pxa27x_cpu_pm_enter(suspend_state_t state)
224{ 224{
225 extern void pxa_cpu_standby(void); 225 extern void pxa_cpu_standby(void);
226 extern void pxa_cpu_suspend(unsigned int);
227 extern void pxa_cpu_resume(void);
228 226
229 if (state == PM_SUSPEND_STANDBY) 227 if (state == PM_SUSPEND_STANDBY)
230 CKEN = (1 << CKEN_MEMC) | (1 << CKEN_OSTIMER) | 228 CKEN = (1 << CKEN_MEMC) | (1 << CKEN_OSTIMER) |
@@ -245,7 +243,7 @@ void pxa27x_cpu_pm_enter(suspend_state_t state)
245 case PM_SUSPEND_MEM: 243 case PM_SUSPEND_MEM:
246 /* set resume return address */ 244 /* set resume return address */
247 PSPR = virt_to_phys(pxa_cpu_resume); 245 PSPR = virt_to_phys(pxa_cpu_resume);
248 pxa_cpu_suspend(PWRMODE_SLEEP); 246 pxa27x_cpu_suspend(PWRMODE_SLEEP);
249 break; 247 break;
250 } 248 }
251} 249}