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/veyron | |
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/veyron')
-rw-r--r-- | src/mainboard/google/veyron/sdram_configs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/google/veyron/sdram_configs.c b/src/mainboard/google/veyron/sdram_configs.c index b76ed09ab3..4b044924cb 100644 --- a/src/mainboard/google/veyron/sdram_configs.c +++ b/src/mainboard/google/veyron/sdram_configs.c @@ -34,7 +34,7 @@ static struct rk3288_sdram_params sdram_configs[] = { _Static_assert(ARRAY_SIZE(sdram_configs) == 24, "Must have 24 sdram_configs!"); -const struct rk3288_sdram_params *get_sdram_config() +const struct rk3288_sdram_params *get_sdram_config(void) { u32 ramcode = ram_code(); |