diff options
author | Spencer Oliver <spen@spen-soft.co.uk> | 2014-09-11 22:14:31 +0100 |
---|---|---|
committer | Spencer Oliver <spen@spen-soft.co.uk> | 2014-10-06 11:57:40 +0000 |
commit | 3160c66408af858c3064e54fb14f074e54ac6701 (patch) | |
tree | 26c57bb046e4c6157a524a31f7a41b4559c00fcc /src/target/avr32_ap7k.c | |
parent | b675edcc95935cbdf77002db1e261536026f4cbe (diff) |
target: constify structures
Change-Id: I875cfab8dec4ade72ed9c9cd7d52baaca182a1ef
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/2295
Tested-by: jenkins
Diffstat (limited to 'src/target/avr32_ap7k.c')
-rw-r--r-- | src/target/avr32_ap7k.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/avr32_ap7k.c b/src/target/avr32_ap7k.c index e1812ecc..55d1efb4 100644 --- a/src/target/avr32_ap7k.c +++ b/src/target/avr32_ap7k.c @@ -35,12 +35,12 @@ #include "avr32_regs.h" #include "avr32_ap7k.h" -static char *avr32_core_reg_list[] = { +static const char * const avr32_core_reg_list[] = { "r0", "r1", "r2", "r3", "r4", "r5", "r6", "r7", "r8", "r9", "r10", "r11", "r12", "sp", "lr", "pc", "sr" }; -static struct avr32_core_reg +static const struct avr32_core_reg avr32_core_reg_list_arch_info[AVR32NUMCOREREGS] = { {0, NULL, NULL}, {1, NULL, NULL}, |