summaryrefslogtreecommitdiffstats
path: root/it87spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'it87spi.c')
-rw-r--r--it87spi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/it87spi.c b/it87spi.c
index f5955fe6c..8224db08e 100644
--- a/it87spi.c
+++ b/it87spi.c
@@ -98,7 +98,7 @@ void probe_superio_ite(void)
return;
}
-static int it8716f_spi_send_command(struct flashctx *flash,
+static int it8716f_spi_send_command(const struct flashctx *flash,
unsigned int writecnt, unsigned int readcnt,
const unsigned char *writearr,
unsigned char *readarr);
@@ -275,7 +275,7 @@ int init_superio_ite(void)
* commands with the address in inverse wire order. That's why the register
* ordering in case 4 and 5 may seem strange.
*/
-static int it8716f_spi_send_command(struct flashctx *flash,
+static int it8716f_spi_send_command(const struct flashctx *flash,
unsigned int writecnt, unsigned int readcnt,
const unsigned char *writearr,
unsigned char *readarr)