aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/include
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2011-11-17 08:55:47 -0500
committerPaul Mundt <lethal@linux-sh.org>2011-11-17 14:12:28 -0500
commit8cc88a55b03bd4940390125c2521c99368513be5 (patch)
treebad27dac59c2c8a0bf7fe3fcb5ce82cf7813c950 /arch/sh/include
parentd03299ee6020b0cc64fc4180162fb2e8795394e1 (diff)
sh: sh7724: use runtime PM implementation, common with arm/mach-shmobile
Switch sh7724 to a runtime PM implementation, common with ARM-based sh-mobile platforms. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include')
-rw-r--r--arch/sh/include/asm/hwblk.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/sh/include/asm/hwblk.h b/arch/sh/include/asm/hwblk.h
index 855e945c6199..567c9aa1ced9 100644
--- a/arch/sh/include/asm/hwblk.h
+++ b/arch/sh/include/asm/hwblk.h
@@ -44,6 +44,7 @@ struct hwblk_info {
44 int nr_hwblks; 44 int nr_hwblks;
45}; 45};
46 46
47#if !defined(CONFIG_CPU_SUBTYPE_SH7724)
47/* Should be defined by processor-specific code */ 48/* Should be defined by processor-specific code */
48int arch_hwblk_init(void); 49int arch_hwblk_init(void);
49int arch_hwblk_sleep_mode(void); 50int arch_hwblk_sleep_mode(void);
@@ -66,5 +67,7 @@ void hwblk_cnt_dec(struct hwblk_info *info, int hwblk, int cnt);
66} 67}
67 68
68int sh_hwblk_clk_register(struct clk *clks, int nr); 69int sh_hwblk_clk_register(struct clk *clks, int nr);
69 70#else
71#define hwblk_init() 0
72#endif
70#endif /* __ASM_SH_HWBLK_H */ 73#endif /* __ASM_SH_HWBLK_H */