From 990d19fd6d925da5856de50fd84d8656e762b83c Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 15 Mar 2011 20:44:11 +0000 Subject: sim: bfin: fix brace style --- sim/bfin/dv-bfin_ppi.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'sim/bfin/dv-bfin_ppi.c') diff --git a/sim/bfin/dv-bfin_ppi.c b/sim/bfin/dv-bfin_ppi.c index fc72b94..4c9fd7f 100644 --- a/sim/bfin/dv-bfin_ppi.c +++ b/sim/bfin/dv-bfin_ppi.c @@ -53,7 +53,8 @@ struct bfin_ppi #define mmr_base() offsetof(struct bfin_ppi, control) #define mmr_offset(mmr) (offsetof(struct bfin_ppi, mmr) - mmr_base()) -static const char * const mmr_names[] = { +static const char * const mmr_names[] = +{ "PPI_CONTROL", "PPI_STATUS", "PPI_COUNT", "PPI_DELAY", "PPI_FRAME", }; #define mmr_name(off) mmr_names[(off) / 4] @@ -167,7 +168,8 @@ bfin_ppi_dma_write_buffer (struct hw *me, const void *source, return bfin_gui_update (ppi->gui_state, source, nr_bytes); } -static const struct hw_port_descriptor bfin_ppi_ports[] = { +static const struct hw_port_descriptor bfin_ppi_ports[] = +{ { "stat", 0, 0, output_port, }, { NULL, 0, 0, 0, }, }; -- cgit v1.1