aboutsummaryrefslogtreecommitdiff
path: root/arch/sh/kernel/cpu
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2009-10-29 10:52:06 +0000
committerPaul Mundt <lethal@linux-sh.org>2009-10-30 11:55:24 +0900
commit159f8cd99ea0e3613cbb6aeea574af438f33d8d7 (patch)
tree109b7077c55f3a98a19468f8641097c756b0554b /arch/sh/kernel/cpu
parentda14909eb0749c2788fc704be6dbdebb620602f6 (diff)
sh: Allow boards to register memory pre/post sleep code
Add code to allow boards registering self-contained functions for going to/from self-refresh. At this point the board code is unused. When all supported boards have been converted then the new sleep code will make use of these functions. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/cpu')
-rw-r--r--arch/sh/kernel/cpu/shmobile/pm.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/sh/kernel/cpu/shmobile/pm.c b/arch/sh/kernel/cpu/shmobile/pm.c
index 7ebf8cf8924..b424747e425 100644
--- a/arch/sh/kernel/cpu/shmobile/pm.c
+++ b/arch/sh/kernel/cpu/shmobile/pm.c
@@ -60,6 +60,12 @@ void sh_mobile_call_standby(unsigned long mode)
mode, NULL);
}
+void sh_mobile_register_self_refresh(unsigned long flags,
+ void *pre_start, void *pre_end,
+ void *post_start, void *post_end)
+{
+}
+
static int sh_pm_enter(suspend_state_t state)
{
local_irq_disable();