aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSuresh Siddha <[email protected]>2012-05-08 00:08:52 -0700
committerIngo Molnar <[email protected]>2012-05-08 11:17:29 +0200
commit399988eea194a8453e283fdd2da968d1fd39a7cf (patch)
tree84bff3c89ff415453b16bbc5fba784d5370a5571
parent79fec2c557cf69187dad09ba55ee389872485622 (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 <[email protected]> Cc: [email protected] Cc: [email protected] Cc: Joerg Roedel <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
-rw-r--r--arch/x86/include/asm/irq_remapping.h6
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 @@
#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;