diff options
author | Magnus Damm <damm@opensource.se> | 2010-05-11 01:00:47 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-05-13 04:33:17 -0400 |
commit | c77a9c3edee079fe0411d98cfb9d872bc336ee32 (patch) | |
tree | b368c77d6b391c37ff1674baaf5334ab3092ec1f /arch/sh/include/asm | |
parent | d8ef3ccc1c99ae51128b28aaed6e8afc43af71ff (diff) |
sh: get rid of mstp32 clock name and id
Remove the name and the id from SH_CLK_MSTP32().
Now when lookups are handled by clkdev they are
not needed anymore.
Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/asm')
-rw-r--r-- | arch/sh/include/asm/clock.h | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/arch/sh/include/asm/clock.h b/arch/sh/include/asm/clock.h index 405a12c09960..c52882c1a468 100644 --- a/arch/sh/include/asm/clock.h +++ b/arch/sh/include/asm/clock.h | |||
@@ -116,15 +116,12 @@ int clk_rate_table_find(struct clk *clk, | |||
116 | struct cpufreq_frequency_table *freq_table, | 116 | struct cpufreq_frequency_table *freq_table, |
117 | unsigned long rate); | 117 | unsigned long rate); |
118 | 118 | ||
119 | #define SH_CLK_MSTP32(_name, _id, _parent, _enable_reg, \ | 119 | #define SH_CLK_MSTP32(_parent, _enable_reg, _enable_bit, _flags) \ |
120 | _enable_bit, _flags) \ | 120 | { \ |
121 | { \ | 121 | .parent = _parent, \ |
122 | .name = _name, \ | 122 | .enable_reg = (void __iomem *)_enable_reg, \ |
123 | .id = _id, \ | 123 | .enable_bit = _enable_bit, \ |
124 | .parent = _parent, \ | 124 | .flags = _flags, \ |
125 | .enable_reg = (void __iomem *)_enable_reg, \ | ||
126 | .enable_bit = _enable_bit, \ | ||
127 | .flags = _flags, \ | ||
128 | } | 125 | } |
129 | 126 | ||
130 | int sh_clk_mstp32_register(struct clk *clks, int nr); | 127 | int sh_clk_mstp32_register(struct clk *clks, int nr); |