Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

nios2: Do not include linux/irqdomain.h from asm/irq.h

Including linux/irqdomain.h from asm/irq.h is going to break
as soon as linux/irqdomain.h will include linux/irq.h, so
let's fix this. Code relying on linux/irqomain.h should include
it directly.

Signed-off-by: Marc Zyngier <maz@kernel.org>

+1 -1
-1
arch/nios2/include/asm/irq.h
··· 10 10 #define NIOS2_CPU_NR_IRQS 32 11 11 12 12 #include <asm-generic/irq.h> 13 - #include <linux/irqdomain.h> 14 13 15 14 #endif
+1
arch/nios2/kernel/irq.c
··· 11 11 12 12 #include <linux/init.h> 13 13 #include <linux/interrupt.h> 14 + #include <linux/irqdomain.h> 14 15 #include <linux/of.h> 15 16 16 17 static u32 ienable;