[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-mips-cvs
Subject:    MIPS: JZ4740: Fixup #include's (sparse)
From:       linux-mips () linux-mips ! org
Date:       2014-12-21 14:42:08
Message-ID: S27009425AbaLUOmLL6gfx/20141221144211Z+4767 () eddie ! linux-mips ! org
[Download RAW message or body]

Author: Brian Norris <computersforpeace@gmail.com> Wed Dec 17 18:39:01 2014 -0800
Comitter: Ralf Baechle <ralf@linux-mips.org> Fri Dec 19 01:15:41 2014 +0100
Commit: 56d8cb026514b5df3ea098ceac82b221005b3645
Gitweb: http://git.linux-mips.org/g/ralf/linux/56d8cb026514
Branch: master

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>

---

 arch/mips/jz4740/irq.c |    3 +++
 1 file changed, 3 insertions(+)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic