diff options
author | Magnus Damm <damm@opensource.se> | 2010-05-10 10:01:02 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-05-10 22:48:31 -0400 |
commit | f3d51e13fea901729fef15bf1c32ca004d45476e (patch) | |
tree | 205a278e6e3d19ee7b57d39f30d4e50c2aaf6eaf /arch/sh/include | |
parent | 9b7a37853a8cd69829eb1d9715a6c09aae01eeec (diff) |
sh: hwblk index rework
Rework the sh7722/sh7723/sh7724 hwblk code to use the
hwblk id as index in the mstp clock array.
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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/include/asm/hwblk.h b/arch/sh/include/asm/hwblk.h index 5d3ccae4202b..4984d291ee0b 100644 --- a/arch/sh/include/asm/hwblk.h +++ b/arch/sh/include/asm/hwblk.h | |||
@@ -59,7 +59,7 @@ 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(_name, _id, _parent, _hwblk, _flags) \ |
62 | { \ | 62 | [_hwblk] = { \ |
63 | .name = _name, \ | 63 | .name = _name, \ |
64 | .id = _id, \ | 64 | .id = _id, \ |
65 | .parent = _parent, \ | 65 | .parent = _parent, \ |