diff options
author | Magnus Damm <damm@opensource.se> | 2010-05-10 14:01:44 +0000 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-05-11 11:48:47 +0900 |
commit | 08134c3c629bf128245f721391b96a858d88e997 (patch) | |
tree | 774dddf17cd1f6290f690cdce252a02c29f88c0e /arch/sh/include | |
parent | d97432f1014c73bbace9eb1e67742c1bcab0c3cd (diff) | |
download | blackbird-obmc-linux-08134c3c629bf128245f721391b96a858d88e997.tar.gz blackbird-obmc-linux-08134c3c629bf128245f721391b96a858d88e997.zip |
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); void hwblk_cnt_dec(struct hwblk_info *info, int hwblk, int cnt); /* allow clocks to enable and disable hardware blocks */ -#define SH_HWBLK_CLK(_name, _id, _parent, _hwblk, _flags) \ -[_hwblk] = { \ - .name = _name, \ - .id = _id, \ - .parent = _parent, \ - .arch_flags = _hwblk, \ - .flags = _flags, \ +#define SH_HWBLK_CLK(_hwblk, _parent, _flags) \ +[_hwblk] = { \ + .parent = _parent, \ + .arch_flags = _hwblk, \ + .flags = _flags, \ } int sh_hwblk_clk_register(struct clk *clks, int nr); |