summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-s3c/pm.c
diff options
context:
space:
mode:
authorBen Dooks2008-12-12 01:24:19 +0100
committerBen Dooks2009-03-08 13:37:05 +0100
commitef30e14420df546bc6576b00f9caf3379b6699d1 (patch)
tree8037b6f610fee43c8b71088dd0a6d65d7d6df937 /arch/arm/plat-s3c/pm.c
parent[ARM] S3C: Rename s3c2410_pm_init to s3c_pm_init. (diff)
downloadkernel-qcow2-linux-ef30e14420df546bc6576b00f9caf3379b6699d1.tar.gz
kernel-qcow2-linux-ef30e14420df546bc6576b00f9caf3379b6699d1.tar.xz
kernel-qcow2-linux-ef30e14420df546bc6576b00f9caf3379b6699d1.zip
[ARM] S3C: Rename sleep.S functions to be non-cpu specific
Rename s3c2410_cpu_resume to s3c_cpu_resume and s3c2410_cpu_save to s3c_cpu_save to remove the CPU specific naming of these functions which are now in the generic PM code. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/plat-s3c/pm.c')
-rw-r--r--arch/arm/plat-s3c/pm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/plat-s3c/pm.c b/arch/arm/plat-s3c/pm.c
index e82ec628ced1..e320b0ff3852 100644
--- a/arch/arm/plat-s3c/pm.c
+++ b/arch/arm/plat-s3c/pm.c
@@ -280,8 +280,9 @@ static int s3c_pm_enter(suspend_state_t state)
* we resume as it saves its own register state, so use the return
* code to differentiate return from save and return from sleep */
- if (s3c2410_cpu_save(regs_save) == 0) {
+ if (s3c_cpu_save(regs_save) == 0) {
flush_cache_all();
+ S3C_PMDBG("preparing to sleep\n");
pm_cpu_sleep();
}