diff options
author | Huacai Chen <chenhuacai@loongson.cn> | 2024-08-23 18:39:32 +0800 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2024-08-23 20:40:27 +0200 |
commit | 06fac729a6d54e2c6650b38734f84383aafb3acc (patch) | |
tree | 80b744a9ad59890c54c7e23ad08a8581d9b31036 /drivers/irqchip/irq-loongson-htvec.c | |
parent | 0b3af7591dbfd16ca45740cd90eb34be8b9a7175 (diff) | |
download | lwn-06fac729a6d54e2c6650b38734f84383aafb3acc.tar.gz lwn-06fac729a6d54e2c6650b38734f84383aafb3acc.zip |
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-htvec.c')
-rw-r--r-- | drivers/irqchip/irq-loongson-htvec.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/irqchip/irq-loongson-htvec.c b/drivers/irqchip/irq-loongson-htvec.c index 0bff728b25e3..5da02c7ad0b3 100644 --- a/drivers/irqchip/irq-loongson-htvec.c +++ b/drivers/irqchip/irq-loongson-htvec.c @@ -17,6 +17,8 @@ #include <linux/of_irq.h> #include <linux/syscore_ops.h> +#include "irq-loongson.h" + /* Registers */ #define HTVEC_EN_OFF 0x20 #define HTVEC_MAX_PARENT_IRQ 8 |