From e62fc0d355d11c4081d9ef587bb4f75d345f2900 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Mon, 11 Oct 2010 22:49:39 +0000 Subject: [PATCH] Build fixes (trivial). Signed-off-by: Uwe Hermann Acked-by: Uwe Hermann git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5939 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/southbridge/intel/i82801bx/i82801bx_early_smbus.c | 1 - src/southbridge/intel/i82801bx/i82801bx_pci.c | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/southbridge/intel/i82801bx/i82801bx_early_smbus.c b/src/southbridge/intel/i82801bx/i82801bx_early_smbus.c index 98ce799516..b7597716e7 100644 --- a/src/southbridge/intel/i82801bx/i82801bx_early_smbus.c +++ b/src/southbridge/intel/i82801bx/i82801bx_early_smbus.c @@ -27,7 +27,6 @@ static void enable_smbus(void) { device_t dev; - uint16_t device_id; /* Set the SMBus device statically (D31:F3). */ dev = PCI_DEV(0x0, 0x1f, 0x3); diff --git a/src/southbridge/intel/i82801bx/i82801bx_pci.c b/src/southbridge/intel/i82801bx/i82801bx_pci.c index fc5b83e8c4..828a668197 100644 --- a/src/southbridge/intel/i82801bx/i82801bx_pci.c +++ b/src/southbridge/intel/i82801bx/i82801bx_pci.c @@ -23,6 +23,7 @@ #include #include #include +#include "i82801bx.h" static void pci_init(struct device *dev) {