1
0

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>
This commit is contained in:
Magnus Damm
2011-04-29 02:23:28 +09:00
committed by Paul Mundt
parent cac6f98dfc
commit c3dada1894
3 changed files with 51 additions and 0 deletions

View File

@@ -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);