aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/pxa3xx.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2011-06-22 12:41:48 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-06-24 04:54:39 -0400
commit2c74a0cefa463a7a483b07ba4d2ea8e4ec7b996c (patch)
tree51fc396c9315b42448da071b40d2199fa1ff769f /arch/arm/mach-pxa/pxa3xx.c
parent14c79bbed7e06135bcbccb2b92c19df7115b4502 (diff)
ARM: pm: hide 1st and 2nd arguments to cpu_suspend from platform code
The first and second arguments shouldn't concern platform code, so hide them from each platforms caller. Tested-by: Kevin Hilman <khilman@ti.com> Acked-by: Jean Pihet <j-pihet@ti.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-pxa/pxa3xx.c')
-rw-r--r--arch/arm/mach-pxa/pxa3xx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-pxa/pxa3xx.c b/arch/arm/mach-pxa/pxa3xx.c
index 220fd8c15dab..9fe947b5d5f7 100644
--- a/arch/arm/mach-pxa/pxa3xx.c
+++ b/arch/arm/mach-pxa/pxa3xx.c
@@ -24,6 +24,7 @@
24#include <linux/i2c/pxa-i2c.h> 24#include <linux/i2c/pxa-i2c.h>
25 25
26#include <asm/mach/map.h> 26#include <asm/mach/map.h>
27#include <asm/suspend.h>
27#include <mach/hardware.h> 28#include <mach/hardware.h>
28#include <mach/gpio.h> 29#include <mach/gpio.h>
29#include <mach/pxa3xx-regs.h> 30#include <mach/pxa3xx-regs.h>
@@ -167,7 +168,7 @@ static void pxa3xx_cpu_pm_suspend(void)
167 /* overwrite with the resume address */ 168 /* overwrite with the resume address */
168 *p = virt_to_phys(cpu_resume); 169 *p = virt_to_phys(cpu_resume);
169 170
170 cpu_suspend(0, PHYS_OFFSET - PAGE_OFFSET, 0, pxa3xx_finish_suspend); 171 cpu_suspend(0, pxa3xx_finish_suspend);
171 172
172 *p = saved_data; 173 *p = saved_data;
173 174