diff options
author | Magnus Damm <damm@opensource.se> | 2010-05-10 10:01:44 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-05-10 22:48:47 -0400 |
commit | 08134c3c629bf128245f721391b96a858d88e997 (patch) | |
tree | 774dddf17cd1f6290f690cdce252a02c29f88c0e /arch/sh/include | |
parent | d97432f1014c73bbace9eb1e67742c1bcab0c3cd (diff) |
sh: get rid of hwblk clock names
Remove the clock name from sh7722/sh7723/sh7724
hwblk clocks. Lookup is handled by clkdev.
Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include')
-rw-r--r-- | arch/sh/include/asm/hwblk.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/arch/sh/include/asm/hwblk.h b/arch/sh/include/asm/hwblk.h index 4984d291ee0b..855e945c6199 100644 --- a/arch/sh/include/asm/hwblk.h +++ b/arch/sh/include/asm/hwblk.h | |||
@@ -58,13 +58,11 @@ void hwblk_cnt_inc(struct hwblk_info *info, int hwblk, int cnt); | |||
58 | void hwblk_cnt_dec(struct hwblk_info *info, int hwblk, int cnt); | 58 | void hwblk_cnt_dec(struct hwblk_info *info, int hwblk, int cnt); |
59 | 59 | ||
60 | /* allow clocks to enable and disable hardware blocks */ | 60 | /* allow clocks to enable and disable hardware blocks */ |
61 | #define SH_HWBLK_CLK(_name, _id, _parent, _hwblk, _flags) \ | 61 | #define SH_HWBLK_CLK(_hwblk, _parent, _flags) \ |
62 | [_hwblk] = { \ | 62 | [_hwblk] = { \ |
63 | .name = _name, \ | 63 | .parent = _parent, \ |
64 | .id = _id, \ | 64 | .arch_flags = _hwblk, \ |
65 | .parent = _parent, \ | 65 | .flags = _flags, \ |
66 | .arch_flags = _hwblk, \ | ||
67 | .flags = _flags, \ | ||
68 | } | 66 | } |
69 | 67 | ||
70 | int sh_hwblk_clk_register(struct clk *clks, int nr); | 68 | int sh_hwblk_clk_register(struct clk *clks, int nr); |