mirror of
https://github.com/torvalds/linux.git
synced 2026-09-25 21:21:09 -04:00
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]>
This commit is contained in:
committed by
Ingo Molnar
parent
79fec2c557
commit
399988eea1
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user