summaryrefslogtreecommitdiffstats
path: root/arch/sh/include/asm/clock.h
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2010-05-11 09:06:13 +0200
committerPaul Mundt <lethal@linux-sh.org>2010-05-13 10:35:05 +0200
commit914ebf0bbb24696cd7eecee8942efecca5653126 (patch)
tree5ca384ba927ada56c6a3462977dc6268d6f72b16 /arch/sh/include/asm/clock.h
parentsh: sh7786 div4 clkdev lookup (diff)
downloadlinux-914ebf0bbb24696cd7eecee8942efecca5653126.tar.xz
linux-914ebf0bbb24696cd7eecee8942efecca5653126.zip
sh: get rid of div4 clock name
Remove the name parameter from SH_CLK_DIV4() and adjust the processor specific code. The lookup happens using clkdev so the name is unused. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/asm/clock.h')
-rw-r--r--arch/sh/include/asm/clock.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/arch/sh/include/asm/clock.h b/arch/sh/include/asm/clock.h
index c52882c1a468..f6b0bfd4e191 100644
--- a/arch/sh/include/asm/clock.h
+++ b/arch/sh/include/asm/clock.h
@@ -126,14 +126,13 @@ int clk_rate_table_find(struct clk *clk,
int sh_clk_mstp32_register(struct clk *clks, int nr);
-#define SH_CLK_DIV4(_name, _parent, _reg, _shift, _div_bitmap, _flags) \
-{ \
- .name = _name, \
- .parent = _parent, \
- .enable_reg = (void __iomem *)_reg, \
- .enable_bit = _shift, \
- .arch_flags = _div_bitmap, \
- .flags = _flags, \
+#define SH_CLK_DIV4(_parent, _reg, _shift, _div_bitmap, _flags) \
+{ \
+ .parent = _parent, \
+ .enable_reg = (void __iomem *)_reg, \
+ .enable_bit = _shift, \
+ .arch_flags = _div_bitmap, \
+ .flags = _flags, \
}
struct clk_div4_table {