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
This commit is contained in:
Spencer Oliver
2014-09-11 22:14:31 +01:00
parent b675edcc95
commit 3160c66408
16 changed files with 27 additions and 27 deletions

View File

@@ -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},