Skip to content

Commit 01179ca

Browse files
Yanteng Sitsbogend
authored andcommitted
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>
1 parent fe82de9 commit 01179ca

File tree

1 file changed

+1
-0
lines changed
  • arch/mips/include/asm

1 file changed

+1
-0
lines changed

arch/mips/include/asm/irq.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
#define IRQ_STACK_SIZE THREAD_SIZE
2121
#define IRQ_STACK_START (IRQ_STACK_SIZE - 16)
2222

23+
extern void __init init_IRQ(void);
2324
extern void *irq_stack[NR_CPUS];
2425

2526
/*

0 commit comments

Comments
 (0)