aboutsummaryrefslogtreecommitdiff
path: root/sim/bfin/dv-bfin_nfc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/bfin/dv-bfin_nfc.c')
-rw-r--r--sim/bfin/dv-bfin_nfc.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sim/bfin/dv-bfin_nfc.c b/sim/bfin/dv-bfin_nfc.c
index 48990ee..3517a75 100644
--- a/sim/bfin/dv-bfin_nfc.c
+++ b/sim/bfin/dv-bfin_nfc.c
@@ -60,7 +60,8 @@ struct bfin_nfc
#define mmr_offset(mmr) (offsetof(struct bfin_nfc, mmr) - mmr_base())
#define mmr_idx(mmr) (mmr_offset (mmr) / 4)
-static const char * const mmr_names[] = {
+static const char * const mmr_names[] =
+{
"NFC_CTL", "NFC_STAT", "NFC_IRQSTAT", "NFC_IRQMASK", "NFC_ECC0", "NFC_ECC1",
"NFC_ECC2", "NFC_ECC3", "NFC_COUNT", "NFC_RST", "NFC_PGCTL", "NFC_READ",
[mmr_idx (addr)] = "NFC_ADDR", "NFC_CMD", "NFC_DATA_WR", "NFC_DATA_RD",
@@ -179,7 +180,8 @@ bfin_nfc_dma_write_buffer (struct hw *me, const void *source,
return nr_bytes;
}
-static const struct hw_port_descriptor bfin_nfc_ports[] = {
+static const struct hw_port_descriptor bfin_nfc_ports[] =
+{
{ "stat", 0, 0, output_port, },
{ NULL, 0, 0, 0, },
};