aboutsummaryrefslogtreecommitdiff
path: root/src/jtag/aice/aice_interface.c
diff options
context:
space:
mode:
authorSpencer Oliver <spen@spen-soft.co.uk>2014-09-11 22:09:36 +0100
committerSpencer Oliver <spen@spen-soft.co.uk>2014-10-06 11:57:36 +0000
commitb675edcc95935cbdf77002db1e261536026f4cbe (patch)
tree07e3752145d917ba797d97788505b81dac9ff6a7 /src/jtag/aice/aice_interface.c
parent36bc83b174e4ac9741f325fc20fa01885e10f85e (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_interface.c')
-rw-r--r--src/jtag/aice/aice_interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jtag/aice/aice_interface.c b/src/jtag/aice/aice_interface.c
index 838b54fa..363b208a 100644
--- a/src/jtag/aice/aice_interface.c
+++ b/src/jtag/aice/aice_interface.c
@@ -31,7 +31,7 @@
#include "aice_usb.h"
#define AICE_KHZ_TO_SPEED_MAP_SIZE 16
-static int aice_khz_to_speed_map[AICE_KHZ_TO_SPEED_MAP_SIZE] = {
+static const int aice_khz_to_speed_map[AICE_KHZ_TO_SPEED_MAP_SIZE] = {
30000,
15000,
7500,