nios2: Do not include linux/irqdomain.h from asm/irq.h
authorMarc Zyngier <maz@kernel.org>
Thu, 13 Sep 2018 09:59:03 +0000 (10:59 +0100)
committerMarc Zyngier <maz@kernel.org>
Thu, 10 Jun 2021 12:09:15 +0000 (13:09 +0100)
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>
arch/nios2/include/asm/irq.h
arch/nios2/kernel/irq.c

index 13ce372..c52c948 100644 (file)
@@ -10,6 +10,5 @@
 #define NIOS2_CPU_NR_IRQS      32
 
 #include <asm-generic/irq.h>
-#include <linux/irqdomain.h>
 
 #endif
index 5f3555c..c6a1a9f 100644 (file)
@@ -11,6 +11,7 @@
 
 #include <linux/init.h>
 #include <linux/interrupt.h>
+#include <linux/irqdomain.h>
 #include <linux/of.h>
 
 static u32 ienable;