tcl/target|board: add config Atheros ar2313
[fw/openocd] / src / target / embeddedice.c
index 016883086c835c94c1bc3e8c72ba5500fcdf1aa1..2d32c83a516ab262eff93c7d984df9f22ededdea 100644 (file)
@@ -54,9 +54,9 @@ static int embeddedice_set_reg_w_exec(struct reg *reg, uint8_t *buf);
  * From:  ARM9E-S TRM, DDI 0165, table C-4 (and similar, for other cores)
  */
 static const struct {
-       char            *name;
-       unsigned short  addr;
-       unsigned short  width;
+       const char     *name;
+       unsigned short addr;
+       unsigned short width;
 } eice_regs[] = {
        [EICE_DBG_CTRL] = {
                .name =         "debug_ctrl",