aboutsummaryrefslogtreecommitdiff
path: root/src/southbridge/nvidia/ck804/ck804.c
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2015-02-03 08:05:55 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2015-02-16 23:14:02 +0100
commit413e3da8c039360079c0c6a93f28456d0d80ff76 (patch)
treea614af76dbe7e4d28a058378a6cff0d47409fe13 /src/southbridge/nvidia/ck804/ck804.c
parentfacf0b93615bb0b5680ef80dcf1680bec337d69f (diff)
nvidia/ck804: Fix redundant configuration defines
All code must agree on PCI enumeration for the CK804 device, define these only once. The definition in enable_usbdebug.c was different and was assumed incorrect. Change-Id: I7d25c145afbad41db81a6b9b4f3956ad50fcb9f2 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/8339 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Timothy Pearson <tpearson@raptorengineeringinc.com> Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Diffstat (limited to 'src/southbridge/nvidia/ck804/ck804.c')
-rw-r--r--src/southbridge/nvidia/ck804/ck804.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/southbridge/nvidia/ck804/ck804.c b/src/southbridge/nvidia/ck804/ck804.c
index 353a4bda82..2258ddab00 100644
--- a/src/southbridge/nvidia/ck804/ck804.c
+++ b/src/southbridge/nvidia/ck804/ck804.c
@@ -24,7 +24,7 @@
#include <device/pci.h>
#include <device/pci_ids.h>
#include <device/pci_ops.h>
-#include "ck804.h"
+#include "chip.h"
static u32 final_reg;
@@ -57,7 +57,7 @@ static device_t find_lpc_dev(device_t dev, unsigned devfn)
return lpc_dev;
}
-void ck804_enable(device_t dev)
+static void ck804_enable(device_t dev)
{
device_t lpc_dev;
unsigned index = 0, index2 = 0, deviceid, vendorid, devfn;