diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-06-22 12:41:48 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-06-24 04:54:39 -0400 |
commit | 2c74a0cefa463a7a483b07ba4d2ea8e4ec7b996c (patch) | |
tree | 51fc396c9315b42448da071b40d2199fa1ff769f /arch/arm/plat-samsung/pm.c | |
parent | 14c79bbed7e06135bcbccb2b92c19df7115b4502 (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/plat-samsung/pm.c')
-rw-r--r-- | arch/arm/plat-samsung/pm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/plat-samsung/pm.c b/arch/arm/plat-samsung/pm.c index 3a6d0768ba0c..69d6b040a019 100644 --- a/arch/arm/plat-samsung/pm.c +++ b/arch/arm/plat-samsung/pm.c | |||
@@ -20,6 +20,7 @@ | |||
20 | #include <linux/io.h> | 20 | #include <linux/io.h> |
21 | 21 | ||
22 | #include <asm/cacheflush.h> | 22 | #include <asm/cacheflush.h> |
23 | #include <asm/suspend.h> | ||
23 | #include <mach/hardware.h> | 24 | #include <mach/hardware.h> |
24 | #include <mach/map.h> | 25 | #include <mach/map.h> |
25 | 26 | ||
@@ -298,7 +299,7 @@ static int s3c_pm_enter(suspend_state_t state) | |||
298 | * we resume as it saves its own register state and restores it | 299 | * we resume as it saves its own register state and restores it |
299 | * during the resume. */ | 300 | * during the resume. */ |
300 | 301 | ||
301 | cpu_suspend(0, PHYS_OFFSET - PAGE_OFFSET, 0, pm_cpu_sleep); | 302 | cpu_suspend(0, pm_cpu_sleep); |
302 | 303 | ||
303 | /* restore the system state */ | 304 | /* restore the system state */ |
304 | 305 | ||