Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 35d3d814 authored by Joerg Roedel's avatar Joerg Roedel
Browse files

iommu: Fix compile warnings with forward declarations



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: default avatarJoerg Roedel <joro@8bytes.org>
parent 03bbcb2e
Loading
Loading
Loading
Loading
+7 −0
Original line number Original line Diff line number Diff line
@@ -24,6 +24,13 @@


#include <asm/io_apic.h>
#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
#ifdef CONFIG_IRQ_REMAP


extern void setup_irq_remapping_ops(void);
extern void setup_irq_remapping_ops(void);