]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
irq_remap: Fix compiler warning with CONFIG_IRQ_REMAP=y
authorSuresh Siddha <suresh.b.siddha@intel.com>
Tue, 8 May 2012 07:08:52 +0000 (00:08 -0700)
committerIngo Molnar <mingo@kernel.org>
Tue, 8 May 2012 09:17:29 +0000 (11:17 +0200)
Fix the below compiler warning:

arch/x86/include/asm/irq_remapping.h:72:19: warning: ‘struct IO_APIC_route_entry’ declared inside parameter list [enabled by default]

Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
Cc: joro@8bytes.org
Cc: iommu@lists.linux-foundation.org
Cc: Joerg Roedel <joerg.roedel@amd.com>
Link: http://lkml.kernel.org/r/1336460934-23592-1-git-send-email-suresh.b.siddha@intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/include/asm/irq_remapping.h

index dcb0c723102855647693e7036684158ae61493d2..5fb9bbbd2f14c0ad07033b067797ed179e1d8fd8 100644 (file)
 #ifndef __X86_IRQ_REMAPPING_H
 #define __X86_IRQ_REMAPPING_H
 
-#ifdef CONFIG_IRQ_REMAP
+#include <asm/io_apic.h>
 
-struct IO_APIC_route_entry;
-struct io_apic_irq_attr;
-struct pci_dev;
+#ifdef CONFIG_IRQ_REMAP
 
 extern int irq_remapping_enabled;