summaryrefslogtreecommitdiff
path: root/drivers/irqchip/irq-loongson-eiointc.c
diff options
context:
space:
mode:
authorHuacai Chen <chenhuacai@loongson.cn>2024-08-23 18:39:32 +0800
committerThomas Gleixner <tglx@linutronix.de>2024-08-23 20:40:27 +0200
commit06fac729a6d54e2c6650b38734f84383aafb3acc (patch)
tree80b744a9ad59890c54c7e23ad08a8581d9b31036 /drivers/irqchip/irq-loongson-eiointc.c
parent0b3af7591dbfd16ca45740cd90eb34be8b9a7175 (diff)
LoongArch: Move irqchip function prototypes to irq-loongson.h
Some irqchip functions are only for internal use by irqchip drivers, so move their prototypes from asm/irq.h to drivers/irqchip/irq-loongson.h. All related driver files include the new irq-loongson.h. Signed-off-by: Huacai Chen <chenhuacai@loongson.cn> Signed-off-by: Tianyang Zhang <zhangtianyang@loongson.cn> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/all/20240823103936.25092-1-zhangtianyang@loongson.cn
Diffstat (limited to 'drivers/irqchip/irq-loongson-eiointc.c')
-rw-r--r--drivers/irqchip/irq-loongson-eiointc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/irqchip/irq-loongson-eiointc.c b/drivers/irqchip/irq-loongson-eiointc.c
index b1f2080be2be..34b5ca2f5e62 100644
--- a/drivers/irqchip/irq-loongson-eiointc.c
+++ b/drivers/irqchip/irq-loongson-eiointc.c
@@ -17,6 +17,8 @@
#include <linux/syscore_ops.h>
#include <asm/numa.h>
+#include "irq-loongson.h"
+
#define EIOINTC_REG_NODEMAP 0x14a0
#define EIOINTC_REG_IPMAP 0x14c0
#define EIOINTC_REG_ENABLE 0x1600