diff options
Diffstat (limited to 'it87spi.c')
-rw-r--r-- | it87spi.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |