From: Yanteng Si Date: Mon, 18 Jan 2021 13:20:09 +0000 (+0800) Subject: MIPS: IRQ: Add prototype for function init_IRQ X-Git-Tag: accepted/tizen/unified/20230118.172025~7732^2~69 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=01179ca040437d9db0232fc9eea69e6e195ae118;p=platform%2Fkernel%2Flinux-rpi.git 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 Reviewed-by: Huacai Chen Signed-off-by: Thomas Bogendoerfer --- diff --git a/arch/mips/include/asm/irq.h b/arch/mips/include/asm/irq.h index c5d3517..f021de6 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]; /*