summaryrefslogtreecommitdiffstats
path: root/src/mainboard/google/nyan
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/nyan
parent8180427a16ce0ae3138a6d3204ddd15ebd8142b3 (diff)
downloadcoreboot-71e40782b87ff6964600fa642058ff24f9b05676.tar.gz
coreboot-71e40782b87ff6964600fa642058ff24f9b05676.tar.bz2
coreboot-71e40782b87ff6964600fa642058ff24f9b05676.zip
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/nyan')
-rw-r--r--src/mainboard/google/nyan/sdram_configs.c2
1 files changed, 1 insertions, 1 deletions
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();
/*