diff options
Diffstat (limited to 'sim/bfin/dv-bfin_otp.c')
-rw-r--r-- | sim/bfin/dv-bfin_otp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sim/bfin/dv-bfin_otp.c b/sim/bfin/dv-bfin_otp.c index d30a414..902796f 100644 --- a/sim/bfin/dv-bfin_otp.c +++ b/sim/bfin/dv-bfin_otp.c @@ -52,7 +52,8 @@ struct bfin_otp #define mmr_offset(mmr) (offsetof(struct bfin_otp, mmr) - mmr_base()) #define mmr_idx(mmr) (mmr_offset (mmr) / 4) -static const char * const mmr_names[] = { +static const char * const mmr_names[] = +{ "OTP_CONTROL", "OTP_BEN", "OTP_STATUS", "OTP_TIMING", [mmr_idx (data0)] = "OTP_DATA0", "OTP_DATA1", "OTP_DATA2", "OTP_DATA3", }; |