aboutsummaryrefslogtreecommitdiffstats
path: root/raiden_debug_spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'raiden_debug_spi.c')
-rw-r--r--raiden_debug_spi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/raiden_debug_spi.c b/raiden_debug_spi.c
index a0d65783..306d8fba 100644
--- a/raiden_debug_spi.c
+++ b/raiden_debug_spi.c
@@ -284,7 +284,7 @@ static int read_response(const struct flashctx *flash,
return response_packet.status_code;
}
-static int send_command(struct flashctx *flash,
+static int send_command(const struct flashctx *flash,
unsigned int write_count,
unsigned int read_count,
const unsigned char *write_buffer,