Skip to content

Commit

Permalink
iommu: Fix compile warnings with forward declarations
Browse files Browse the repository at this point in the history
The irq_remapping.h file for x86 does not include all
necessary forward declarations for the data structures used.
This causes compile warnings, so fix it.

Signed-off-by: Joerg Roedel <joro@8bytes.org>
  • Loading branch information
joergroedel committed Apr 19, 2013
1 parent 03bbcb2 commit 35d3d81
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions arch/x86/include/asm/irq_remapping.h
Expand Up @@ -24,6 +24,13 @@

#include <asm/io_apic.h>

struct IO_APIC_route_entry;
struct io_apic_irq_attr;
struct irq_chip;
struct msi_msg;
struct pci_dev;
struct irq_cfg;

#ifdef CONFIG_IRQ_REMAP

extern void setup_irq_remapping_ops(void);
Expand Down

0 comments on commit 35d3d81

Please sign in to comment.