Skip to content

Commit 942e22d

Browse files
computersforpeaceralfbaechle
authored andcommitted
MIPS: JZ4740: Fixup #include's (sparse)
Fixes sparse warnings: arch/mips/jz4740/irq.c:63:6: warning: symbol 'jz4740_irq_suspend' was not declared. Should it be static? arch/mips/jz4740/irq.c:69:6: warning: symbol 'jz4740_irq_resume' was not declared. Should it be static? Also, I've seen some elusive build errors on my automated build test where JZ4740_IRQ_BASE and NR_IRQS are missing, but I can't reproduce them manually for some reason. Anyway, mach-jz4740/irq.h should help us avoid relying on some implicit include. Signed-off-by: Brian Norris <computersforpeace@gmail.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/8724/ Acked-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
1 parent 389cdc5 commit 942e22d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

arch/mips/jz4740/irq.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@
3030
#include <asm/irq_cpu.h>
3131

3232
#include <asm/mach-jz4740/base.h>
33+
#include <asm/mach-jz4740/irq.h>
34+
35+
#include "irq.h"
3336

3437
static void __iomem *jz_intc_base;
3538

0 commit comments

Comments
 (0)