diff options
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 4e6783d..5a51be2 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, }, }; |