aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/pxa25x.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-pxa/pxa25x.c')
-rw-r--r--arch/arm/mach-pxa/pxa25x.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/arm/mach-pxa/pxa25x.c b/arch/arm/mach-pxa/pxa25x.c
index 1ec4bf1ff249..6dfcca72e90f 100644
--- a/arch/arm/mach-pxa/pxa25x.c
+++ b/arch/arm/mach-pxa/pxa25x.c
@@ -180,16 +180,13 @@ static void pxa25x_cpu_pm_restore(unsigned long *sleep_save)
180 180
181static void pxa25x_cpu_pm_enter(suspend_state_t state) 181static void pxa25x_cpu_pm_enter(suspend_state_t state)
182{ 182{
183 extern void pxa_cpu_suspend(unsigned int);
184 extern void pxa_cpu_resume(void);
185
186 CKEN = 0; 183 CKEN = 0;
187 184
188 switch (state) { 185 switch (state) {
189 case PM_SUSPEND_MEM: 186 case PM_SUSPEND_MEM:
190 /* set resume return address */ 187 /* set resume return address */
191 PSPR = virt_to_phys(pxa_cpu_resume); 188 PSPR = virt_to_phys(pxa_cpu_resume);
192 pxa_cpu_suspend(PWRMODE_SLEEP); 189 pxa25x_cpu_suspend(PWRMODE_SLEEP);
193 break; 190 break;
194 } 191 }
195} 192}