diff options
author | Suresh Siddha <suresh.b.siddha@intel.com> | 2012-05-08 03:08:52 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2012-05-08 05:17:29 -0400 |
commit | 399988eea194a8453e283fdd2da968d1fd39a7cf (patch) | |
tree | 84bff3c89ff415453b16bbc5fba784d5370a5571 /arch/x86/include/asm/irq_remapping.h | |
parent | 79fec2c557cf69187dad09ba55ee389872485622 (diff) |
irq_remap: Fix compiler warning with CONFIG_IRQ_REMAP=y
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>
Diffstat (limited to 'arch/x86/include/asm/irq_remapping.h')
-rw-r--r-- | arch/x86/include/asm/irq_remapping.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/x86/include/asm/irq_remapping.h b/arch/x86/include/asm/irq_remapping.h index dcb0c7231028..5fb9bbbd2f14 100644 --- a/arch/x86/include/asm/irq_remapping.h +++ b/arch/x86/include/asm/irq_remapping.h | |||
@@ -22,11 +22,9 @@ | |||
22 | #ifndef __X86_IRQ_REMAPPING_H | 22 | #ifndef __X86_IRQ_REMAPPING_H |
23 | #define __X86_IRQ_REMAPPING_H | 23 | #define __X86_IRQ_REMAPPING_H |
24 | 24 | ||
25 | #ifdef CONFIG_IRQ_REMAP | 25 | #include <asm/io_apic.h> |
26 | 26 | ||
27 | struct IO_APIC_route_entry; | 27 | #ifdef CONFIG_IRQ_REMAP |
28 | struct io_apic_irq_attr; | ||
29 | struct pci_dev; | ||
30 | 28 | ||
31 | extern int irq_remapping_enabled; | 29 | extern int irq_remapping_enabled; |
32 | 30 | ||