summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/drivers/spi/spi_flash_internal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/spi/spi_flash_internal.h b/src/drivers/spi/spi_flash_internal.h
index e3883112ee..1927111891 100644
--- a/src/drivers/spi/spi_flash_internal.h
+++ b/src/drivers/spi/spi_flash_internal.h
@@ -71,10 +71,10 @@ struct spi_flash_part_id {
*/
uint16_t id[2];
/* Log based 2 total number of sectors. */
- uint16_t nr_sectors_shift: 4;
+ uint16_t nr_sectors_shift : 4;
uint16_t fast_read_dual_output_support : 1; /* 1-1-2 read */
uint16_t fast_read_dual_io_support : 1; /* 1-2-2 read */
- uint16_t _reserved_for_flags: 2;
+ uint16_t _reserved_for_flags : 2;
/* Block protection. Currently used by Winbond. */
uint16_t protection_granularity_shift : 5;
uint16_t bp_bits : 3;