diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2011-11-17 08:55:47 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2011-11-17 14:12:28 -0500 |
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 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 */ |
48 | int arch_hwblk_init(void); | 49 | int arch_hwblk_init(void); |
49 | int arch_hwblk_sleep_mode(void); | 50 | int 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 | ||
68 | int sh_hwblk_clk_register(struct clk *clks, int nr); | 69 | int 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 */ |