summaryrefslogtreecommitdiff
path: root/src/mainboard/google/gru
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/gru
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/gru')
-rw-r--r--src/mainboard/google/gru/sdram_configs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/google/gru/sdram_configs.c b/src/mainboard/google/gru/sdram_configs.c
index 2aceb9f084..aae3377020 100644
--- a/src/mainboard/google/gru/sdram_configs.c
+++ b/src/mainboard/google/gru/sdram_configs.c
@@ -44,7 +44,7 @@ static enum dram_speeds get_sdram_target_mhz(void)
return dram_928MHz;
}
-const struct rk3399_sdram_params *get_sdram_config()
+const struct rk3399_sdram_params *get_sdram_config(void)
{
char config_file[64];
uint32_t ramcode;