diff options
Diffstat (limited to 'sim/bfin/dv-bfin_spi.c')
-rw-r--r-- | sim/bfin/dv-bfin_spi.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sim/bfin/dv-bfin_spi.c b/sim/bfin/dv-bfin_spi.c index 4c783d0..500f72c 100644 --- a/sim/bfin/dv-bfin_spi.c +++ b/sim/bfin/dv-bfin_spi.c @@ -49,7 +49,8 @@ struct bfin_spi #define mmr_base() offsetof(struct bfin_spi, ctl) #define mmr_offset(mmr) (offsetof(struct bfin_spi, mmr) - mmr_base()) -static const char * const mmr_names[] = { +static const char * const mmr_names[] = +{ "SPI_CTL", "SPI_FLG", "SPI_STAT", "SPI_TDBR", "SPI_RDBR", "SPI_BAUD", "SPI_SHADOW", }; @@ -168,7 +169,8 @@ bfin_spi_dma_write_buffer (struct hw *me, const void *source, return 0; } -static const struct hw_port_descriptor bfin_spi_ports[] = { +static const struct hw_port_descriptor bfin_spi_ports[] = +{ { "stat", 0, 0, output_port, }, { NULL, 0, 0, 0, }, }; |