Skip to content

Commit

Permalink
irq_remap: Fix compiler warning with CONFIG_IRQ_REMAP=y
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Suresh Siddha authored and Ingo Molnar committed May 8, 2012
1 parent 79fec2c commit 399988e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions arch/x86/include/asm/irq_remapping.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 399988e

Please sign in to comment.