summaryrefslogtreecommitdiff
path: root/arch/sh/include/asm/clock.h
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2010-05-11 05:00:47 +0000
committerPaul Mundt <lethal@linux-sh.org>2010-05-13 17:33:17 +0900
commitc77a9c3edee079fe0411d98cfb9d872bc336ee32 (patch)
treeb368c77d6b391c37ff1674baaf5334ab3092ec1f /arch/sh/include/asm/clock.h
parentd8ef3ccc1c99ae51128b28aaed6e8afc43af71ff (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/clock.h')
-rw-r--r--arch/sh/include/asm/clock.h15
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,
struct cpufreq_frequency_table *freq_table,
unsigned long rate);
-#define SH_CLK_MSTP32(_name, _id, _parent, _enable_reg, \
- _enable_bit, _flags) \
-{ \
- .name = _name, \
- .id = _id, \
- .parent = _parent, \
- .enable_reg = (void __iomem *)_enable_reg, \
- .enable_bit = _enable_bit, \
- .flags = _flags, \
+#define SH_CLK_MSTP32(_parent, _enable_reg, _enable_bit, _flags) \
+{ \
+ .parent = _parent, \
+ .enable_reg = (void __iomem *)_enable_reg, \
+ .enable_bit = _enable_bit, \
+ .flags = _flags, \
}
int sh_clk_mstp32_register(struct clk *clks, int nr);