Miklós Márton has uploaded this change for review.

View Change

ni845x_spi: add missing const specifier to the spi_transmit function

Change-Id: I2c14361283b2da3725d9ba2cae0e1007e6be3d66
Signed-off-by: Miklós Márton <martonmiklosqdev@gmail.com>
---
M ni845x_spi.c
1 file changed, 1 insertion(+), 1 deletion(-)

git pull ssh://review.coreboot.org:29418/flashrom refs/changes/03/57003/1
diff --git a/ni845x_spi.c b/ni845x_spi.c
index 2153510..9d09f30 100644
--- a/ni845x_spi.c
+++ b/ni845x_spi.c
@@ -480,7 +480,7 @@
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,

To view, visit change 57003. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I2c14361283b2da3725d9ba2cae0e1007e6be3d66
Gerrit-Change-Number: 57003
Gerrit-PatchSet: 1
Gerrit-Owner: Miklós Márton <martonmiklosqdev@gmail.com>
Gerrit-MessageType: newchange