diff options
-rw-r--r-- | ni845x_spi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ni845x_spi.c b/ni845x_spi.c index 87a1dd8d..4dcf1400 100644 --- a/ni845x_spi.c +++ b/ni845x_spi.c @@ -480,7 +480,7 @@ static int ni845x_spi_io_voltage_check(const struct flashctx *flash) return 0; } -static int ni845x_spi_transmit(struct flashctx *flash, +static int ni845x_spi_transmit(const struct flashctx *flash, unsigned int write_cnt, unsigned int read_cnt, const unsigned char *write_arr, |