1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-04-27 07:02:34 +02:00

ni845x_spi: add missing const specifier to the spi_transmit function

Change-Id: I2c14361283b2da3725d9ba2cae0e1007e6be3d66
Signed-off-by: Miklós Márton <martonmiklosqdev@gmail.com>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/57003
Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Miklós Márton 2021-08-17 22:53:40 +02:00 committed by Nico Huber
parent 51e1d0e4b7
commit 87284a5277

View File

@ -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,