diff options
author | Magnus Damm <damm@opensource.se> | 2011-04-28 13:23:28 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2011-05-24 22:19:17 -0400 |
commit | c3dada1894de46139c21352a1000c0fd02d308d5 (patch) | |
tree | 5486666006f9e377ad0585a4b4b2a0bf656646be /arch/arm/mach-shmobile/include/mach/common.h | |
parent | cac6f98dfca51ec2dc906064ba0bf8be4f820ba0 (diff) |
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/mach/common.h')
-rw-r--r-- | arch/arm/mach-shmobile/include/mach/common.h | 1 |
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; | |||
8 | extern int clk_init(void); | 8 | extern int clk_init(void); |
9 | extern void shmobile_handle_irq_intc(struct pt_regs *); | 9 | extern void shmobile_handle_irq_intc(struct pt_regs *); |
10 | extern void shmobile_handle_irq_gic(struct pt_regs *); | 10 | extern void shmobile_handle_irq_gic(struct pt_regs *); |
11 | extern struct platform_suspend_ops shmobile_suspend_ops; | ||
11 | 12 | ||
12 | extern void sh7367_init_irq(void); | 13 | extern void sh7367_init_irq(void); |
13 | extern void sh7367_add_early_devices(void); | 14 | extern void sh7367_add_early_devices(void); |