aboutsummaryrefslogtreecommitdiff
path: root/sim/bfin/dv-bfin_wp.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-03-15 20:44:11 +0000
committerMike Frysinger <vapier@gentoo.org>2011-03-15 20:44:11 +0000
commit990d19fd6d925da5856de50fd84d8656e762b83c (patch)
tree78a21bfb29c4d0d4f10900714b098fb437695125 /sim/bfin/dv-bfin_wp.c
parent227d265839dcb5f90383a23e36dc7d0a5df62075 (diff)
downloadgdb-990d19fd6d925da5856de50fd84d8656e762b83c.zip
gdb-990d19fd6d925da5856de50fd84d8656e762b83c.tar.gz
gdb-990d19fd6d925da5856de50fd84d8656e762b83c.tar.bz2
sim: bfin: fix brace style
Diffstat (limited to 'sim/bfin/dv-bfin_wp.c')
-rw-r--r--sim/bfin/dv-bfin_wp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sim/bfin/dv-bfin_wp.c b/sim/bfin/dv-bfin_wp.c
index efa0804..ba40026 100644
--- a/sim/bfin/dv-bfin_wp.c
+++ b/sim/bfin/dv-bfin_wp.c
@@ -54,7 +54,8 @@ struct bfin_wp
#define mmr_offset(mmr) (offsetof(struct bfin_wp, mmr) - mmr_base())
#define mmr_idx(mmr) (mmr_offset (mmr) / 4)
-static const char * const mmr_names[] = {
+static const char * const mmr_names[] =
+{
[mmr_idx (iactl)] = "WPIACTL",
[mmr_idx (ia)] = "WPIA0", "WPIA1", "WPIA2", "WPIA3", "WPIA4", "WPIA5",
[mmr_idx (iacnt)] = "WPIACNT0", "WPIACNT1", "WPIACNT2",