diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2011-11-17 14:55:47 +0100 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2011-11-18 04:12:28 +0900 |
commit | 8cc88a55b03bd4940390125c2521c99368513be5 (patch) | |
tree | bad27dac59c2c8a0bf7fe3fcb5ce82cf7813c950 /arch/sh/include | |
parent | d03299ee6020b0cc64fc4180162fb2e8795394e1 (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.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/sh/include/asm/hwblk.h b/arch/sh/include/asm/hwblk.h index 855e945c619..567c9aa1ced 100644 --- a/arch/sh/include/asm/hwblk.h +++ b/arch/sh/include/asm/hwblk.h @@ -44,6 +44,7 @@ struct hwblk_info { int nr_hwblks; }; +#if !defined(CONFIG_CPU_SUBTYPE_SH7724) /* Should be defined by processor-specific code */ int arch_hwblk_init(void); int arch_hwblk_sleep_mode(void); @@ -66,5 +67,7 @@ void hwblk_cnt_dec(struct hwblk_info *info, int hwblk, int cnt); } int sh_hwblk_clk_register(struct clk *clks, int nr); - +#else +#define hwblk_init() 0 +#endif #endif /* __ASM_SH_HWBLK_H */ |