aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm/irq.h
diff options
context:
space:
mode:
authorYanteng Si <siyanteng@loongson.cn>2021-01-18 21:20:09 +0800
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2021-01-19 23:04:32 +0100
commit01179ca040437d9db0232fc9eea69e6e195ae118 (patch)
tree6e1268861c460099f2e860c242e84734718ff3e8 /arch/mips/include/asm/irq.h
parentRevert "MIPS: Octeon: Remove special handling of CONFIG_MIPS_ELF_APPENDED_DTB=y" (diff)
downloadlinux-dev-01179ca040437d9db0232fc9eea69e6e195ae118.tar.xz
linux-dev-01179ca040437d9db0232fc9eea69e6e195ae118.zip
MIPS: IRQ: Add prototype for function init_IRQ
This commit adds a prototype to fix error at W=1: arch/mips/kernel/irq.c:52:13: error: no previous prototype for 'init_IRQ' [-Werror=missing-prototypes] Signed-off-by: Yanteng Si <siyanteng@loongson.cn> Reviewed-by: Huacai Chen <chenhuacai@kernel.org> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/include/asm/irq.h')
-rw-r--r--arch/mips/include/asm/irq.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/include/asm/irq.h b/arch/mips/include/asm/irq.h
index c5d351786416..f021de661c3a 100644
--- a/arch/mips/include/asm/irq.h
+++ b/arch/mips/include/asm/irq.h
@@ -20,6 +20,7 @@
#define IRQ_STACK_SIZE THREAD_SIZE
#define IRQ_STACK_START (IRQ_STACK_SIZE - 16)
+extern void __init init_IRQ(void);
extern void *irq_stack[NR_CPUS];
/*