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/drivers/mrc_cache/mrc_cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/drivers') diff --git a/src/drivers/mrc_cache/mrc_cache.c b/src/drivers/mrc_cache/mrc_cache.c index 484b414dfa..bb560c89bd 100644 --- a/src/drivers/mrc_cache/mrc_cache.c +++ b/src/drivers/mrc_cache/mrc_cache.c @@ -25,7 +25,7 @@ /* Signature "MRCD" was used for older header format before CB:67670. */ #define MRC_DATA_SIGNATURE (('M'<<0)|('R'<<8)|('C'<<16)|('d'<<24)) -const static uint32_t mrc_invalid_sig = ~MRC_DATA_SIGNATURE; +static const uint32_t mrc_invalid_sig = ~MRC_DATA_SIGNATURE; struct mrc_metadata { uint32_t signature; -- cgit v1.2.3