summaryrefslogtreecommitdiff
path: root/src/southbridge/sis
diff options
context:
space:
mode:
authorMyles Watson <mylesgw@gmail.com>2010-08-04 19:29:11 +0000
committerMyles Watson <mylesgw@gmail.com>2010-08-04 19:29:11 +0000
commit127e976ec287df4ceb16a3b176b58497e58e0d8d (patch)
tree73f3a4b2a77f226bdf97d335aa4333d710070a2b /src/southbridge/sis
parent8c4f31b3b5f6c3b7ba0ece39cd7df6273ff70a7e (diff)
downloadcoreboot-127e976ec287df4ceb16a3b176b58497e58e0d8d.tar.xz
Remove warnings from USB debug console code.
Signed-off-by: Myles Watson <mylesgw@gmail.com> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5683 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/southbridge/sis')
-rw-r--r--src/southbridge/sis/sis966/sis966_enable_usbdebug.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/southbridge/sis/sis966/sis966_enable_usbdebug.c b/src/southbridge/sis/sis966/sis966_enable_usbdebug.c
index 520383ea06..c9d1c112e2 100644
--- a/src/southbridge/sis/sis966/sis966_enable_usbdebug.c
+++ b/src/southbridge/sis/sis966/sis966_enable_usbdebug.c
@@ -31,7 +31,9 @@
#define EHCI_BAR 0xFEF00000
#define EHCI_DEBUG_OFFSET 0x98
-static void set_debug_port(unsigned port)
+#include <usbdebug.h>
+
+void set_debug_port(unsigned port)
{
uint32_t dword;
dword = pci_read_config32(PCI_DEV(0, SIS966_DEVN_BASE+2, 1), 0x74);