drivers/pci/intr_remapping.c: include acpi.h
authorAlexander Beregalov <a.beregalov@gmail.com>
Mon, 6 Apr 2009 15:45:28 +0000 (16:45 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 6 Apr 2009 20:45:48 +0000 (13:45 -0700)
Fix this build error:
drivers/pci/intr_remapping.c: In function 'ir_parse_ioapic_scope':
drivers/pci/intr_remapping.c:617: error: invalid use of undefined type
         'struct acpi_dmar_hardware_unit'

Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/pci/intr_remapping.c

index 472be1c..f5e0ea7 100644 (file)
@@ -9,6 +9,7 @@
 #include <asm/cpu.h>
 #include <linux/intel-iommu.h>
 #include "intr_remapping.h"
+#include <acpi/acpi.h>
 
 static struct ioapic_scope ir_ioapic[MAX_IO_APICS];
 static int ir_ioapic_num;