From 2d7825b0fce070f41ef35b7fdcf599550663dbe9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Sat, 2 Jun 2018 14:52:25 +0300 Subject: amdfam10: Fix mismatch of function declarations MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Callsite declared returning int, which makes more sense than u8 the motherboard side code defined the functions with. Change-Id: I8ee83aa2833408ad163c9011a076e08578f3ca6f Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/26774 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/southbridge/amd/rs780/gfx.c | 2 +- src/southbridge/amd/rs780/rs780.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src/southbridge/amd') diff --git a/src/southbridge/amd/rs780/gfx.c b/src/southbridge/amd/rs780/gfx.c index 79a9db7782..3152a14eb1 100644 --- a/src/southbridge/amd/rs780/gfx.c +++ b/src/southbridge/amd/rs780/gfx.c @@ -35,7 +35,7 @@ #include #include #include "rs780.h" -extern int is_dev3_present(void); + void set_pcie_reset(void); void set_pcie_dereset(void); diff --git a/src/southbridge/amd/rs780/rs780.h b/src/southbridge/amd/rs780/rs780.h index 971637b285..a8bbbe2231 100644 --- a/src/southbridge/amd/rs780/rs780.h +++ b/src/southbridge/amd/rs780/rs780.h @@ -222,5 +222,6 @@ int is_family10h(void); void enable_rs780_dev8(void); void rs780_early_setup(void); void rs780_htinit(void); +int is_dev3_present(void); #endif /* __RS780_H__ */ -- cgit v1.2.3