aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/cpu/sh4a/clock-sh7724.c
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2010-05-10 14:02:09 +0000
committerPaul Mundt <lethal@linux-sh.org>2010-05-11 11:48:55 +0900
commit9e1985e13d42b4b66af94637346849565174309d (patch)
tree201338d22f7df6ace14e3f0ee6db475bbd48275e /arch/sh/kernel/cpu/sh4a/clock-sh7724.c
parentsh: tie in div6 clocks using clkdev (diff)
downloadlinux-dev-9e1985e13d42b4b66af94637346849565174309d.tar.xz
linux-dev-9e1985e13d42b4b66af94637346849565174309d.zip
sh: get rid of div6 clock names
Get rid of div6 clock names on sh7343/sh7366/sh7722/sh7723/sh7724 Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/cpu/sh4a/clock-sh7724.c')
-rw-r--r--arch/sh/kernel/cpu/sh4a/clock-sh7724.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/arch/sh/kernel/cpu/sh4a/clock-sh7724.c b/arch/sh/kernel/cpu/sh4a/clock-sh7724.c
index ad57c007b05c..2bbff53fcd87 100644
--- a/arch/sh/kernel/cpu/sh4a/clock-sh7724.c
+++ b/arch/sh/kernel/cpu/sh4a/clock-sh7724.c
@@ -166,15 +166,12 @@ struct clk div4_clks[DIV4_NR] = {
enum { DIV6_V, DIV6_FA, DIV6_FB, DIV6_I, DIV6_S, DIV6_NR };
-#define DIV6(_str, _reg, _flags) \
- SH_CLK_DIV6(_str, &div3_clk, _reg, _flags)
-
struct clk div6_clks[DIV6_NR] = {
- [DIV6_V] = DIV6("video_clk", VCLKCR, 0),
- [DIV6_FA] = DIV6("fsia_clk", FCLKACR, 0),
- [DIV6_FB] = DIV6("fsib_clk", FCLKBCR, 0),
- [DIV6_I] = DIV6("irda_clk", IRDACLKCR, 0),
- [DIV6_S] = DIV6("spu_clk", SPUCLKCR, CLK_ENABLE_ON_INIT),
+ [DIV6_V] = SH_CLK_DIV6(&div3_clk, VCLKCR, 0),
+ [DIV6_FA] = SH_CLK_DIV6(&div3_clk, FCLKACR, 0),
+ [DIV6_FB] = SH_CLK_DIV6(&div3_clk, FCLKBCR, 0),
+ [DIV6_I] = SH_CLK_DIV6(&div3_clk, IRDACLKCR, 0),
+ [DIV6_S] = SH_CLK_DIV6(&div3_clk, SPUCLKCR, CLK_ENABLE_ON_INIT),
};
static struct clk mstp_clks[HWBLK_NR] = {