From 24769421cd1df4f58a8addce16ff9c46080ba1ba Mon Sep 17 00:00:00 2001 From: Elyes Haouas Date: Thu, 12 Jan 2023 06:21:42 +0100 Subject: treewide: Fix old-style declarations Replace old style declaration "const static" with "static const". This to enable "Wold-style-declaration" command option. Change-Id: I757632befed1854f422daaf4dfea58281b16e2f5 Signed-off-by: Elyes Haouas Reviewed-on: https://review.coreboot.org/c/coreboot/+/71841 Tested-by: build bot (Jenkins) Reviewed-by: Eric Lai --- src/mainboard/sifive/hifive-unleashed/media.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mainboard/sifive') diff --git a/src/mainboard/sifive/hifive-unleashed/media.c b/src/mainboard/sifive/hifive-unleashed/media.c index f3dcf7f621..a225dda9e9 100644 --- a/src/mainboard/sifive/hifive-unleashed/media.c +++ b/src/mainboard/sifive/hifive-unleashed/media.c @@ -56,7 +56,7 @@ const struct region_device *boot_device_ro(void) return NULL; } -const static struct fu540_spi_mmap_config spi_mmap_config = { +static const struct fu540_spi_mmap_config spi_mmap_config = { .cmd_en = 1, .addr_len = 4, .pad_cnt = 6, -- cgit v1.2.3