summaryrefslogtreecommitdiffstats
path: root/src/soc/samsung/exynos5250/alternate_cbfs.c
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2023-01-12 06:21:42 +0100
committerElyes Haouas <ehaouas@noos.fr>2023-01-17 04:23:49 +0000
commit24769421cd1df4f58a8addce16ff9c46080ba1ba (patch)
treef88a0af9a0ee4b367f4891bf34ce3f1a8b25ab0c /src/soc/samsung/exynos5250/alternate_cbfs.c
parent4d661eebe95b06acae7d99777ed36ba56a560112 (diff)
downloadcoreboot-24769421cd1df4f58a8addce16ff9c46080ba1ba.tar.gz
coreboot-24769421cd1df4f58a8addce16ff9c46080ba1ba.tar.bz2
coreboot-24769421cd1df4f58a8addce16ff9c46080ba1ba.zip
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 <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/71841 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Diffstat (limited to 'src/soc/samsung/exynos5250/alternate_cbfs.c')
-rw-r--r--src/soc/samsung/exynos5250/alternate_cbfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/samsung/exynos5250/alternate_cbfs.c b/src/soc/samsung/exynos5250/alternate_cbfs.c
index a540c3cadf90..4da2333edc25 100644
--- a/src/soc/samsung/exynos5250/alternate_cbfs.c
+++ b/src/soc/samsung/exynos5250/alternate_cbfs.c
@@ -92,7 +92,7 @@ static int sdmmc_cbfs_open(void)
return 0;
}
-const static struct mem_region_device alternate_rdev =
+static const struct mem_region_device alternate_rdev =
MEM_REGION_DEV_RO_INIT(_cbfs_cache, REGION_SIZE(cbfs_cache));
const struct region_device *boot_device_ro(void)