diff options
Diffstat (limited to 'src/flash/nor/spi.h')
-rw-r--r-- | src/flash/nor/spi.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/nor/spi.h b/src/flash/nor/spi.h index e397a6be..6e939b76 100644 --- a/src/flash/nor/spi.h +++ b/src/flash/nor/spi.h @@ -43,7 +43,7 @@ struct flash_device { .size_in_bytes = size \ } -extern struct flash_device flash_devices[]; +extern const struct flash_device flash_devices[]; /* fields in SPI flash status register */ #define SPIFLASH_BSY_BIT 0x00000001 /* WIP Bit of SPI SR on SMI SR */ |