aboutsummaryrefslogtreecommitdiff
path: root/sim/bfin/dv-bfin_wdog.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/bfin/dv-bfin_wdog.c')
-rw-r--r--sim/bfin/dv-bfin_wdog.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sim/bfin/dv-bfin_wdog.c b/sim/bfin/dv-bfin_wdog.c
index 4aada47..7607df9 100644
--- a/sim/bfin/dv-bfin_wdog.c
+++ b/sim/bfin/dv-bfin_wdog.c
@@ -38,7 +38,8 @@ struct bfin_wdog
#define mmr_base() offsetof(struct bfin_wdog, ctl)
#define mmr_offset(mmr) (offsetof(struct bfin_wdog, mmr) - mmr_base())
-static const char * const mmr_names[] = {
+static const char * const mmr_names[] =
+{
"WDOG_CTL", "WDOG_CNT", "WDOG_STAT",
};
#define mmr_name(off) mmr_names[(off) / 4]
@@ -133,7 +134,8 @@ bfin_wdog_io_read_buffer (struct hw *me, void *dest,
return nr_bytes;
}
-static const struct hw_port_descriptor bfin_wdog_ports[] = {
+static const struct hw_port_descriptor bfin_wdog_ports[] =
+{
{ "reset", WDEV_RESET, 0, output_port, },
{ "nmi", WDEV_NMI, 0, output_port, },
{ "gpi", WDEV_GPI, 0, output_port, },