diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2022-11-17 12:47:09 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-11-24 15:17:58 +0000 |
commit | 71e40782b87ff6964600fa642058ff24f9b05676 (patch) | |
tree | b9a5eb678e2940abd9161713c1204be2887efd07 /src/mainboard/google/nyan_big/sdram_configs.c | |
parent | 8180427a16ce0ae3138a6d3204ddd15ebd8142b3 (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/nyan_big/sdram_configs.c')
-rw-r--r-- | src/mainboard/google/nyan_big/sdram_configs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/google/nyan_big/sdram_configs.c b/src/mainboard/google/nyan_big/sdram_configs.c index 15ed489070..ee3816aa21 100644 --- a/src/mainboard/google/nyan_big/sdram_configs.c +++ b/src/mainboard/google/nyan_big/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(); /* |