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/mainboard/advansus/a785e-i/mainboard.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mainboard/advansus/a785e-i') diff --git a/src/mainboard/advansus/a785e-i/mainboard.c b/src/mainboard/advansus/a785e-i/mainboard.c index 33cbf8891e..b5a2ea82db 100644 --- a/src/mainboard/advansus/a785e-i/mainboard.c +++ b/src/mainboard/advansus/a785e-i/mainboard.c @@ -21,8 +21,8 @@ #include #include #include +#include "southbridge/amd/rs780/rs780.h" -u8 is_dev3_present(void); void set_pcie_dereset(void); void set_pcie_reset(void); @@ -53,7 +53,7 @@ void set_pcie_reset(void) { } -u8 is_dev3_present(void) +int is_dev3_present(void) { return 0; } -- cgit v1.2.3