diff options
Diffstat (limited to 'include/spi.h')
-rw-r--r-- | include/spi.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/spi.h b/include/spi.h index ae97174ec5..f1c995fbf6 100644 --- a/include/spi.h +++ b/include/spi.h @@ -47,7 +47,11 @@ struct spi_device_t { enum gpio_signal gpio_cs; }; -extern const struct spi_device_t spi_devices[]; +extern +#ifndef CONFIG_FINGERPRINT_MCU + const +#endif + struct spi_device_t spi_devices[]; extern const unsigned int spi_devices_used; /* |