summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/include
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2011-04-29 02:23:28 +0900
committerPaul Mundt <lethal@linux-sh.org>2011-05-25 11:19:17 +0900
commitc3dada1894de46139c21352a1000c0fd02d308d5 (patch)
tree5486666006f9e377ad0585a4b4b2a0bf656646be /arch/arm/mach-shmobile/include
parentcac6f98dfca51ec2dc906064ba0bf8be4f820ba0 (diff)
downloadblackbird-op-linux-c3dada1894de46139c21352a1000c0fd02d308d5.tar.gz
blackbird-op-linux-c3dada1894de46139c21352a1000c0fd02d308d5.zip
ARM: mach-shmobile: Suspend-to-RAM support
This patch adds a simple Suspend-to-RAM implementation for SH-Mobile ARM. The struct shmobile_suspend_ops are kept global to allow cpu-specific code to override the callbacks if needed. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/arm/mach-shmobile/include')
-rw-r--r--arch/arm/mach-shmobile/include/mach/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/include/mach/common.h b/arch/arm/mach-shmobile/include/mach/common.h
index 013ac0ee8256..39b78bb80e09 100644
--- a/arch/arm/mach-shmobile/include/mach/common.h
+++ b/arch/arm/mach-shmobile/include/mach/common.h
@@ -8,6 +8,7 @@ struct clk;
extern int clk_init(void);
extern void shmobile_handle_irq_intc(struct pt_regs *);
extern void shmobile_handle_irq_gic(struct pt_regs *);
+extern struct platform_suspend_ops shmobile_suspend_ops;
extern void sh7367_init_irq(void);
extern void sh7367_add_early_devices(void);
OpenPOWER on IntegriCloud