summaryrefslogtreecommitdiffstats
path: root/arch/sh/include
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2011-11-17 14:55:47 +0100
committerPaul Mundt <lethal@linux-sh.org>2011-11-17 20:12:28 +0100
commit8cc88a55b03bd4940390125c2521c99368513be5 (patch)
treebad27dac59c2c8a0bf7fe3fcb5ce82cf7813c950 /arch/sh/include
parentdrivers: sh: Kill off dead pathname for runtime PM stub. (diff)
downloadlinux-8cc88a55b03bd4940390125c2521c99368513be5.tar.xz
linux-8cc88a55b03bd4940390125c2521c99368513be5.zip
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 {
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 */