diff options
author | Spencer Oliver <spen@spen-soft.co.uk> | 2014-09-11 22:09:36 +0100 |
---|---|---|
committer | Spencer Oliver <spen@spen-soft.co.uk> | 2014-10-06 11:57:36 +0000 |
commit | b675edcc95935cbdf77002db1e261536026f4cbe (patch) | |
tree | 07e3752145d917ba797d97788505b81dac9ff6a7 /src/jtag/aice/aice_port.h | |
parent | 36bc83b174e4ac9741f325fc20fa01885e10f85e (diff) |
jtag: constify driver arrays
Change-Id: I81574fa8ca3cc748526dc61b75a2c75d6335ef04
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/2294
Tested-by: jenkins
Diffstat (limited to 'src/jtag/aice/aice_port.h')
-rw-r--r-- | src/jtag/aice/aice_port.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/jtag/aice/aice_port.h b/src/jtag/aice/aice_port.h index 241f8b80..d29e9e14 100644 --- a/src/jtag/aice/aice_port.h +++ b/src/jtag/aice/aice_port.h @@ -106,9 +106,9 @@ enum aice_command_mode { struct aice_port_param_s { /** */ - char *device_desc; + const char *device_desc; /** */ - char *serial; + const char *serial; /** */ uint16_t vid; /** */ @@ -225,7 +225,7 @@ struct aice_port_api_s { /** */ struct aice_port { /** */ - char *name; + const char *name; /** */ int type; /** */ |