summaryrefslogtreecommitdiffstats
path: root/arch/nios2
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2018-09-13 11:59:03 +0200
committerMarc Zyngier <maz@kernel.org>2021-06-10 14:09:15 +0200
commit9bd1cc4148cbea44ca7d8254b50edb6cb660957a (patch)
tree5b0fbd3909fdc0aef932679841fd17a4b2538604 /arch/nios2
parentLinux 5.13-rc4 (diff)
downloadlinux-9bd1cc4148cbea44ca7d8254b50edb6cb660957a.tar.xz
linux-9bd1cc4148cbea44ca7d8254b50edb6cb660957a.zip
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>
Diffstat (limited to 'arch/nios2')
-rw-r--r--arch/nios2/include/asm/irq.h1
-rw-r--r--arch/nios2/kernel/irq.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/arch/nios2/include/asm/irq.h b/arch/nios2/include/asm/irq.h
index 13ce37272279..c52c94884e93 100644
--- a/arch/nios2/include/asm/irq.h
+++ b/arch/nios2/include/asm/irq.h
@@ -10,6 +10,5 @@
#define NIOS2_CPU_NR_IRQS 32
#include <asm-generic/irq.h>
-#include <linux/irqdomain.h>
#endif
diff --git a/arch/nios2/kernel/irq.c b/arch/nios2/kernel/irq.c
index 5f3555ce4865..c6a1a9f6ac42 100644
--- a/arch/nios2/kernel/irq.c
+++ b/arch/nios2/kernel/irq.c
@@ -11,6 +11,7 @@
#include <linux/init.h>
#include <linux/interrupt.h>
+#include <linux/irqdomain.h>
#include <linux/of.h>
static u32 ienable;