diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-03-15 20:44:11 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-03-15 20:44:11 +0000 |
commit | 990d19fd6d925da5856de50fd84d8656e762b83c (patch) | |
tree | 78a21bfb29c4d0d4f10900714b098fb437695125 /sim/bfin/dv-bfin_trace.c | |
parent | 227d265839dcb5f90383a23e36dc7d0a5df62075 (diff) | |
download | gdb-990d19fd6d925da5856de50fd84d8656e762b83c.zip gdb-990d19fd6d925da5856de50fd84d8656e762b83c.tar.gz gdb-990d19fd6d925da5856de50fd84d8656e762b83c.tar.bz2 |
sim: bfin: fix brace style
Diffstat (limited to 'sim/bfin/dv-bfin_trace.c')
-rw-r--r-- | sim/bfin/dv-bfin_trace.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sim/bfin/dv-bfin_trace.c b/sim/bfin/dv-bfin_trace.c index a77dd64..99dd1be 100644 --- a/sim/bfin/dv-bfin_trace.c +++ b/sim/bfin/dv-bfin_trace.c @@ -56,7 +56,8 @@ struct bfin_trace #define mmr_base() offsetof(struct bfin_trace, tbufctl) #define mmr_offset(mmr) (offsetof(struct bfin_trace, mmr) - mmr_base()) -static const char * const mmr_names[] = { +static const char * const mmr_names[] = +{ "TBUFCTL", "TBUFSTAT", [mmr_offset (tbuf) / 4] = "TBUF", }; #define mmr_name(off) (mmr_names[(off) / 4] ? : "<INV>") |