diff options
Diffstat (limited to 'src/drivers/spi/stmicro.c')
-rw-r--r-- | src/drivers/spi/stmicro.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/spi/stmicro.c b/src/drivers/spi/stmicro.c index b7ceba21a8..fe8c4663fa 100644 --- a/src/drivers/spi/stmicro.c +++ b/src/drivers/spi/stmicro.c @@ -222,7 +222,7 @@ out: return ret; } -int spi_flash_probe_stmicro(struct spi_slave *spi, u8 *idcode, +int spi_flash_probe_stmicro(const struct spi_slave *spi, u8 *idcode, struct spi_flash *flash) { const struct stmicro_spi_flash_params *params; |