From 47ad2ae3f984ffa6fb3803bdbea6bd7d96bad819 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Mon, 14 Jun 2021 17:19:48 +0200 Subject: vc/mediatek/mt8195: Match definition with declaration gcc 11 insists. Change-Id: Icec68ab7a3c0bce9b18e37c1b6f41603c97181e2 Signed-off-by: Patrick Georgi Reviewed-on: https://review.coreboot.org/c/coreboot/+/55501 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons --- src/vendorcode/mediatek/mt8195/include/dramc_top.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vendorcode') diff --git a/src/vendorcode/mediatek/mt8195/include/dramc_top.h b/src/vendorcode/mediatek/mt8195/include/dramc_top.h index d1b7d4f7ed..9ec8fb64be 100644 --- a/src/vendorcode/mediatek/mt8195/include/dramc_top.h +++ b/src/vendorcode/mediatek/mt8195/include/dramc_top.h @@ -97,7 +97,7 @@ int get_dram_rank_nr(void); int get_dram_mr_cnt(void); int get_dram_freq_cnt(void); #if !__ETT__ -void get_dram_rank_size(u64 dram_rank_size[]); +void get_dram_rank_size(u64 dram_rank_size[DRAMC_MAX_RK]); void get_dram_freq_step(u32 dram_freq_step[]); void set_dram_mr(unsigned int index, unsigned short value); unsigned short get_dram_mr(unsigned int index); -- cgit v1.2.3