diff options
author | Magnus Damm <damm@opensource.se> | 2010-05-11 03:06:13 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-05-13 04:35:05 -0400 |
commit | 914ebf0bbb24696cd7eecee8942efecca5653126 (patch) | |
tree | 5ca384ba927ada56c6a3462977dc6268d6f72b16 /arch/sh/include/asm/clock.h | |
parent | 1fe3d19883b1f6a243b03456a47e0fdc9629bea6 (diff) |
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.h | 15 |
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, | |||
126 | 126 | ||
127 | int sh_clk_mstp32_register(struct clk *clks, int nr); | 127 | int sh_clk_mstp32_register(struct clk *clks, int nr); |
128 | 128 | ||
129 | #define SH_CLK_DIV4(_name, _parent, _reg, _shift, _div_bitmap, _flags) \ | 129 | #define SH_CLK_DIV4(_parent, _reg, _shift, _div_bitmap, _flags) \ |
130 | { \ | 130 | { \ |
131 | .name = _name, \ | 131 | .parent = _parent, \ |
132 | .parent = _parent, \ | 132 | .enable_reg = (void __iomem *)_reg, \ |
133 | .enable_reg = (void __iomem *)_reg, \ | 133 | .enable_bit = _shift, \ |
134 | .enable_bit = _shift, \ | 134 | .arch_flags = _div_bitmap, \ |
135 | .arch_flags = _div_bitmap, \ | 135 | .flags = _flags, \ |
136 | .flags = _flags, \ | ||
137 | } | 136 | } |
138 | 137 | ||
139 | struct clk_div4_table { | 138 | struct clk_div4_table { |