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_twi.c | |
parent | 227d265839dcb5f90383a23e36dc7d0a5df62075 (diff) | |
download | binutils-990d19fd6d925da5856de50fd84d8656e762b83c.tar.gz binutils-990d19fd6d925da5856de50fd84d8656e762b83c.tar.bz2 binutils-990d19fd6d925da5856de50fd84d8656e762b83c.zip |
sim: bfin: fix brace style
Diffstat (limited to 'sim/bfin/dv-bfin_twi.c')
-rw-r--r-- | sim/bfin/dv-bfin_twi.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sim/bfin/dv-bfin_twi.c b/sim/bfin/dv-bfin_twi.c index 4e6783ded5c..5a51be2d109 100644 --- a/sim/bfin/dv-bfin_twi.c +++ b/sim/bfin/dv-bfin_twi.c @@ -62,7 +62,8 @@ struct bfin_twi #define mmr_offset(mmr) (offsetof(struct bfin_twi, mmr) - mmr_base()) #define mmr_idx(mmr) (mmr_offset (mmr) / 4) -static const char * const mmr_names[] = { +static const char * const mmr_names[] = +{ "TWI_CLKDIV", "TWI_CONTROL", "TWI_SLAVE_CTL", "TWI_SLAVE_STAT", "TWI_SLAVE_ADDR", "TWI_MASTER_CTL", "TWI_MASTER_STAT", "TWI_MASTER_ADDR", "TWI_INT_STAT", "TWI_INT_MASK", "TWI_FIFO_CTL", "TWI_FIFO_STAT", @@ -173,7 +174,8 @@ bfin_twi_io_read_buffer (struct hw *me, void *dest, int space, return nr_bytes; } -static const struct hw_port_descriptor bfin_twi_ports[] = { +static const struct hw_port_descriptor bfin_twi_ports[] = +{ { "stat", 0, 0, output_port, }, { NULL, 0, 0, 0, }, }; |