[PATCH 1/3] irq_remap: fix compiler warning with !CONFIG_IRQ_REMAP

From: Suresh Siddha
Date: Tue May 08 2012 - 03:05:50 EST

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@xxxxxxxxx>
Cc: Joerg Roedel <joerg.roedel@xxxxxxx>
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 dcb0c72..5fb9bbb 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

+#include <asm/io_apic.h>

-struct IO_APIC_route_entry;
-struct io_apic_irq_attr;
-struct pci_dev;

extern int irq_remapping_enabled;


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/