Fix broken build due to missing #if CONFIG_IOAPIC.
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5999 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
diff --git a/src/southbridge/intel/i82371eb/i82371eb_isa.c b/src/southbridge/intel/i82371eb/i82371eb_isa.c
index 24d3813..21fd4db 100644
--- a/src/southbridge/intel/i82371eb/i82371eb_isa.c
+++ b/src/southbridge/intel/i82371eb/i82371eb_isa.c
@@ -28,6 +28,7 @@
#include <arch/ioapic.h>
#include "i82371eb.h"
+#if CONFIG_IOAPIC
static void enable_intel_82093aa_ioapic(void)
{
u16 reg16;
@@ -56,6 +57,7 @@
if (reg32 != ioapic_id)
die("IOAPIC error!\n");
}
+#endif
static void isa_init(struct device *dev)
{