aboutsummaryrefslogtreecommitdiff
path: root/src/target/esirisc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/target/esirisc.c')
-rw-r--r--src/target/esirisc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/esirisc.c b/src/target/esirisc.c
index 561edb2..c9ac1d6 100644
--- a/src/target/esirisc.c
+++ b/src/target/esirisc.c
@@ -1248,7 +1248,7 @@ static int esirisc_arch_state(struct target *target)
return ERROR_OK;
}
-static const char *esirisc_get_gdb_arch(struct target *target)
+static const char *esirisc_get_gdb_arch(const struct target *target)
{
struct esirisc_common *esirisc = target_to_esirisc(target);