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/nyan/sdram_configs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mainboard/google/nyan') diff --git a/src/mainboard/google/nyan/sdram_configs.c b/src/mainboard/google/nyan/sdram_configs.c index 241fbce5b37e..a7ab4c716bf9 100644 --- a/src/mainboard/google/nyan/sdram_configs.c +++ b/src/mainboard/google/nyan/sdram_configs.c @@ -24,7 +24,7 @@ static struct sdram_params sdram_configs[] = { #include "bct/sdram-unused.inc" /* ram_code = 1111 */ }; -const struct sdram_params *get_sdram_config() +const struct sdram_params *get_sdram_config(void) { uint32_t ramcode = sdram_get_ram_code(); /* -- cgit v1.2.3