diff options
author | Joerg Roedel <joro@8bytes.org> | 2013-04-19 14:34:55 -0400 |
---|---|---|
committer | Joerg Roedel <joro@8bytes.org> | 2013-04-19 14:34:55 -0400 |
commit | 35d3d814cbd46a85bed97cd74ba97fbbb51e0ccd (patch) | |
tree | e20cf77258d21c8eab3aee59de242f9e52878576 | |
parent | 03bbcb2e7e292838bb0244f5a7816d194c911d62 (diff) |
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>
-rw-r--r-- | arch/x86/include/asm/irq_remapping.h | 7 |
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 @@ | |||
24 | 24 | ||
25 | #include <asm/io_apic.h> | 25 | #include <asm/io_apic.h> |
26 | 26 | ||
27 | struct IO_APIC_route_entry; | ||
28 | struct io_apic_irq_attr; | ||
29 | struct irq_chip; | ||
30 | struct msi_msg; | ||
31 | struct pci_dev; | ||
32 | struct irq_cfg; | ||
33 | |||
27 | #ifdef CONFIG_IRQ_REMAP | 34 | #ifdef CONFIG_IRQ_REMAP |
28 | 35 | ||
29 | extern void setup_irq_remapping_ops(void); | 36 | extern void setup_irq_remapping_ops(void); |