aboutsummaryrefslogtreecommitdiff
path: root/sim/bfin/dv-bfin_pll.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/bfin/dv-bfin_pll.c')
-rw-r--r--sim/bfin/dv-bfin_pll.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sim/bfin/dv-bfin_pll.c b/sim/bfin/dv-bfin_pll.c
index b6e110a..8620039 100644
--- a/sim/bfin/dv-bfin_pll.c
+++ b/sim/bfin/dv-bfin_pll.c
@@ -42,7 +42,8 @@ struct bfin_pll
#define mmr_base() offsetof(struct bfin_pll, pll_ctl)
#define mmr_offset(mmr) (offsetof(struct bfin_pll, mmr) - mmr_base())
-static const char * const mmr_names[] = {
+static const char * const mmr_names[] =
+{
"PLL_CTL", "PLL_DIV", "VR_CTL", "PLL_STAT", "PLL_LOCKCNT", "CHIPID",
};
#define mmr_name(off) mmr_names[(off) / 4]
@@ -117,7 +118,8 @@ bfin_pll_io_read_buffer (struct hw *me, void *dest,
return nr_bytes;
}
-static const struct hw_port_descriptor bfin_pll_ports[] = {
+static const struct hw_port_descriptor bfin_pll_ports[] =
+{
{ "pll", 0, 0, output_port, },
{ NULL, 0, 0, 0, },
};