diff options
author | Magnus Damm <damm@opensource.se> | 2010-05-10 14:01:02 +0000 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-05-11 11:48:31 +0900 |
commit | f3d51e13fea901729fef15bf1c32ca004d45476e (patch) | |
tree | 205a278e6e3d19ee7b57d39f30d4e50c2aaf6eaf /arch/sh/include | |
parent | 9b7a37853a8cd69829eb1d9715a6c09aae01eeec (diff) | |
download | linux-stable-f3d51e13fea901729fef15bf1c32ca004d45476e.tar.gz linux-stable-f3d51e13fea901729fef15bf1c32ca004d45476e.tar.bz2 linux-stable-f3d51e13fea901729fef15bf1c32ca004d45476e.zip |
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); /* allow clocks to enable and disable hardware blocks */ #define SH_HWBLK_CLK(_name, _id, _parent, _hwblk, _flags) \ -{ \ +[_hwblk] = { \ .name = _name, \ .id = _id, \ .parent = _parent, \ |