summaryrefslogtreecommitdiff
path: root/src/southbridge/nvidia/mcp55
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/nvidia/mcp55
parent8c4f31b3b5f6c3b7ba0ece39cd7df6273ff70a7e (diff)
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/nvidia/mcp55')
-rw-r--r--src/southbridge/nvidia/mcp55/mcp55_enable_usbdebug.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/southbridge/nvidia/mcp55/mcp55_enable_usbdebug.c b/src/southbridge/nvidia/mcp55/mcp55_enable_usbdebug.c
index b980c9e15c..280e827cc9 100644
--- a/src/southbridge/nvidia/mcp55/mcp55_enable_usbdebug.c
+++ b/src/southbridge/nvidia/mcp55/mcp55_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, MCP55_DEVN_BASE+2, 1), 0x74);