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_dma.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'sim/bfin/dv-bfin_dma.c') diff --git a/sim/bfin/dv-bfin_dma.c b/sim/bfin/dv-bfin_dma.c index e61348a..3d52803 100644 --- a/sim/bfin/dv-bfin_dma.c +++ b/sim/bfin/dv-bfin_dma.c @@ -68,7 +68,8 @@ struct bfin_dma #define mmr_base() offsetof(struct bfin_dma, next_desc_ptr) #define mmr_offset(mmr) (offsetof(struct bfin_dma, mmr) - mmr_base()) -static const char * const mmr_names[] = { +static const char * const mmr_names[] = +{ "NEXT_DESC_PTR", "START_ADDR", "CONFIG", "", "X_COUNT", "X_MODIFY", "Y_COUNT", "Y_MODIFY", "CURR_DESC_PTR", "CURR_ADDR", "IRQ_STATUS", "PERIPHERAL_MAP", "CURR_X_COUNT", "", "CURR_Y_COUNT", "", @@ -494,7 +495,8 @@ bfin_dma_dma_write_buffer (struct hw *me, const void *source, return ret; } -static const struct hw_port_descriptor bfin_dma_ports[] = { +static const struct hw_port_descriptor bfin_dma_ports[] = +{ { "di", 0, 0, output_port, }, /* DMA Interrupt */ { NULL, 0, 0, 0, }, }; -- cgit v1.1