From f7f661f375b9408b5e7a89295601b8b63830d3d5 Mon Sep 17 00:00:00 2001 From: Tyler Wang Date: Tue, 14 Nov 2023 13:16:30 +0800 Subject: [PATCH] drivers: spi_flash: Add space before colon to fix coding style BUG=none TEST=build karis firmware pass Change-Id: I67b4ca4c8fde795d4206eaa0b9ea9d9bfc768ac6 Signed-off-by: Tyler Wang Reviewed-on: https://review.coreboot.org/c/coreboot/+/79053 Tested-by: build bot (Jenkins) Reviewed-by: David Wu Reviewed-by: Paul Menzel --- src/drivers/spi/spi_flash_internal.h | 4 ++-- 1 file 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;