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_uart.c | |
parent | 227d265839dcb5f90383a23e36dc7d0a5df62075 (diff) | |
download | ppe42-binutils-990d19fd6d925da5856de50fd84d8656e762b83c.tar.gz ppe42-binutils-990d19fd6d925da5856de50fd84d8656e762b83c.zip |
sim: bfin: fix brace style
Diffstat (limited to 'sim/bfin/dv-bfin_uart.c')
-rw-r--r-- | sim/bfin/dv-bfin_uart.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sim/bfin/dv-bfin_uart.c b/sim/bfin/dv-bfin_uart.c index be9038d399..76aa87dcd2 100644 --- a/sim/bfin/dv-bfin_uart.c +++ b/sim/bfin/dv-bfin_uart.c @@ -60,7 +60,8 @@ struct bfin_uart #define mmr_base() offsetof(struct bfin_uart, dll) #define mmr_offset(mmr) (offsetof(struct bfin_uart, mmr) - mmr_base()) -static const char * const mmr_names[] = { +static const char * const mmr_names[] = +{ "UART_RBR/UART_THR", "UART_IER", "UART_IIR", "UART_LCR", "UART_MCR", "UART_LSR", "UART_MSR", "UART_SCR", "<INV>", "UART_GCTL", }; @@ -374,7 +375,8 @@ bfin_uart_dma_write_buffer (struct hw *me, const void *source, return ret; } -static const struct hw_port_descriptor bfin_uart_ports[] = { +static const struct hw_port_descriptor bfin_uart_ports[] = +{ { "tx", DV_PORT_TX, 0, output_port, }, { "rx", DV_PORT_RX, 0, output_port, }, { "stat", DV_PORT_STAT, 0, output_port, }, |