summaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorJoerg Roedel <joro@8bytes.org>2013-04-19 20:34:55 +0200
committerJoerg Roedel <joro@8bytes.org>2013-04-19 20:34:55 +0200
commit35d3d814cbd46a85bed97cd74ba97fbbb51e0ccd (patch)
treee20cf77258d21c8eab3aee59de242f9e52878576 /arch/x86
parent03bbcb2e7e292838bb0244f5a7816d194c911d62 (diff)
downloadblackbird-op-linux-35d3d814cbd46a85bed97cd74ba97fbbb51e0ccd.tar.gz
blackbird-op-linux-35d3d814cbd46a85bed97cd74ba97fbbb51e0ccd.zip
iommu: Fix compile warnings with forward declarations
The irq_remapping.h file for x86 does not include all necessary forward declarations for the data structures used. This causes compile warnings, so fix it. Signed-off-by: Joerg Roedel <joro@8bytes.org>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/include/asm/irq_remapping.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/x86/include/asm/irq_remapping.h b/arch/x86/include/asm/irq_remapping.h
index aca6aa2088b2..d806b228d2c0 100644
--- a/arch/x86/include/asm/irq_remapping.h
+++ b/arch/x86/include/asm/irq_remapping.h
@@ -24,6 +24,13 @@
#include <asm/io_apic.h>
+struct IO_APIC_route_entry;
+struct io_apic_irq_attr;
+struct irq_chip;
+struct msi_msg;
+struct pci_dev;
+struct irq_cfg;
+
#ifdef CONFIG_IRQ_REMAP
extern void setup_irq_remapping_ops(void);
OpenPOWER on IntegriCloud