Re: [PATCH] MIPS: irq: Add missing prototypes for init_IRQ()

2020-09-27 Thread Thomas Bogendoerfer
On Wed, Sep 23, 2020 at 11:26:50AM +0800, Pujin Shi wrote: > init_IRQ() have no prototype, add one in irq.h > > Fix the following warnings (treated as error in W=1): > arch/mips/kernel/irq.c:52:13: error: no previous prototype for 'init_IRQ' > [-Werror=missing-prototypes] > > Signed-off-by:

[PATCH] MIPS: irq: Add missing prototypes for init_IRQ()

2020-09-22 Thread Pujin Shi
init_IRQ() have no prototype, add one in irq.h Fix the following warnings (treated as error in W=1): arch/mips/kernel/irq.c:52:13: error: no previous prototype for 'init_IRQ' [-Werror=missing-prototypes] Signed-off-by: Pujin Shi --- arch/mips/include/asm/irq.h | 1 + arch/mips/kernel/irq.c