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_gptimer.c | |
parent | 227d265839dcb5f90383a23e36dc7d0a5df62075 (diff) | |
download | gdb-990d19fd6d925da5856de50fd84d8656e762b83c.zip gdb-990d19fd6d925da5856de50fd84d8656e762b83c.tar.gz gdb-990d19fd6d925da5856de50fd84d8656e762b83c.tar.bz2 |
sim: bfin: fix brace style
Diffstat (limited to 'sim/bfin/dv-bfin_gptimer.c')
-rw-r--r-- | sim/bfin/dv-bfin_gptimer.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sim/bfin/dv-bfin_gptimer.c b/sim/bfin/dv-bfin_gptimer.c index 23c906f..35aa79e 100644 --- a/sim/bfin/dv-bfin_gptimer.c +++ b/sim/bfin/dv-bfin_gptimer.c @@ -44,7 +44,8 @@ struct bfin_gptimer #define mmr_base() offsetof(struct bfin_gptimer, config) #define mmr_offset(mmr) (offsetof(struct bfin_gptimer, mmr) - mmr_base()) -static const char * const mmr_names[] = { +static const char * const mmr_names[] = +{ "TIMER_CONFIG", "TIMER_COUNTER", "TIMER_PERIOD", "TIMER_WIDTH", }; #define mmr_name(off) mmr_names[(off) / 4] @@ -129,7 +130,8 @@ bfin_gptimer_io_read_buffer (struct hw *me, void *dest, int space, return nr_bytes; } -static const struct hw_port_descriptor bfin_gptimer_ports[] = { +static const struct hw_port_descriptor bfin_gptimer_ports[] = +{ { "stat", 0, 0, output_port, }, { NULL, 0, 0, 0, }, }; |