summaryrefslogtreecommitdiff
path: root/src/southbridge/amd/rs780/gfx.c
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2018-06-02 14:52:25 +0300
committerPatrick Georgi <pgeorgi@google.com>2018-06-04 08:45:38 +0000
commit2d7825b0fce070f41ef35b7fdcf599550663dbe9 (patch)
treeff063eb4778b7640bb0669cd31758c16dc8ada04 /src/southbridge/amd/rs780/gfx.c
parent975da840d094489da35c2770eab7afe4ef769be8 (diff)
downloadcoreboot-2d7825b0fce070f41ef35b7fdcf599550663dbe9.tar.xz
amdfam10: Fix mismatch of function declarations
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 <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/26774 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/southbridge/amd/rs780/gfx.c')
-rw-r--r--src/southbridge/amd/rs780/gfx.c2
1 files changed, 1 insertions, 1 deletions
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 <delay.h>
#include <cpu/x86/msr.h>
#include "rs780.h"
-extern int is_dev3_present(void);
+
void set_pcie_reset(void);
void set_pcie_dereset(void);