summaryrefslogtreecommitdiff
path: root/src/mainboard/google/foster
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2022-11-17 12:47:09 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-11-24 15:17:58 +0000
commit71e40782b87ff6964600fa642058ff24f9b05676 (patch)
treeb9a5eb678e2940abd9161713c1204be2887efd07 /src/mainboard/google/foster
parent8180427a16ce0ae3138a6d3204ddd15ebd8142b3 (diff)
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 <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/69748 Reviewed-by: Elyes Haouas <ehaouas@noos.fr> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/foster')
-rw-r--r--src/mainboard/google/foster/sdram_configs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/google/foster/sdram_configs.c b/src/mainboard/google/foster/sdram_configs.c
index 25d64036fa..c42d787acc 100644
--- a/src/mainboard/google/foster/sdram_configs.c
+++ b/src/mainboard/google/foster/sdram_configs.c
@@ -11,7 +11,7 @@ static struct sdram_params sdram_configs[] = {
#include "bct/sdram-unused.inc" /* ram_code = 0011 */
};
-const struct sdram_params *get_sdram_config()
+const struct sdram_params *get_sdram_config(void)
{
uint32_t ramcode = sdram_get_ram_code();
/*