From 71e40782b87ff6964600fa642058ff24f9b05676 Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Thu, 17 Nov 2022 12:47:09 +0100 Subject: google/*/*/sdram_configs.c: Add function argument A function declaration without a prototype is deprecated in all versions of C. Change-Id: Ie22231908233f2fba25d78f6c5f53940011e8158 Signed-off-by: Arthur Heymans Reviewed-on: https://review.coreboot.org/c/coreboot/+/69748 Reviewed-by: Elyes Haouas Tested-by: build bot (Jenkins) --- src/mainboard/google/veyron_rialto/sdram_configs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mainboard/google/veyron_rialto') diff --git a/src/mainboard/google/veyron_rialto/sdram_configs.c b/src/mainboard/google/veyron_rialto/sdram_configs.c index 6a97c1731c..91b9439b0e 100644 --- a/src/mainboard/google/veyron_rialto/sdram_configs.c +++ b/src/mainboard/google/veyron_rialto/sdram_configs.c @@ -34,7 +34,7 @@ static struct rk3288_sdram_params sdram_configs[] = { _Static_assert(ARRAY_SIZE(sdram_configs) == 24, "Must have 24 sdram_configs!"); -const struct rk3288_sdram_params *get_sdram_config() +const struct rk3288_sdram_params *get_sdram_config(void) { u32 ramcode = ram_code(); -- cgit v1.2.3