From: Joerg Roedel Date: Fri, 19 Apr 2013 18:34:55 +0000 (+0200) Subject: iommu: Fix compile warnings with forward declarations X-Git-Tag: v3.10-rc1~80^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=35d3d814cbd46a85bed97cd74ba97fbbb51e0ccd;p=platform%2Fkernel%2Flinux-stable.git 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 --- diff --git a/arch/x86/include/asm/irq_remapping.h b/arch/x86/include/asm/irq_remapping.h index aca6aa2..d806b22 100644 --- a/arch/x86/include/asm/irq_remapping.h +++ b/arch/x86/include/asm/irq_remapping.h @@ -24,6 +24,13 @@ #include +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);