From: Atsushi Nemoto Date: Fri, 25 Apr 2008 16:55:30 +0000 (+0900) Subject: [MIPS] Fix some sparse warnings on traps.c and irq-msc01.c X-Git-Tag: v2.6.26-rc1~700^2~6 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=411ba7fcba54b30ba4ce2c492ea8d20f1d0db996;p=linux-2.6-omap-h63xx.git [MIPS] Fix some sparse warnings on traps.c and irq-msc01.c * Declare board_bind_eic_interrupt, board_watchpoint_handler in traps.h * Make msc_bind_eic_interrupt static and fix its argument types. * Make msc_levelirq_type, msc_edgeirq_type static. Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/kernel/irq-msc01.c b/arch/mips/kernel/irq-msc01.c index 4edc7e451d9..963c16d266a 100644 --- a/arch/mips/kernel/irq-msc01.c +++ b/arch/mips/kernel/irq-msc01.c @@ -17,6 +17,7 @@ #include #include #include +#include static unsigned long _icctrl_msc; #define MSC01_IC_REG_BASE _icctrl_msc @@ -98,14 +99,13 @@ void ll_msc_irq(void) } } -void -msc_bind_eic_interrupt(unsigned int irq, unsigned int set) +static void msc_bind_eic_interrupt(int irq, int set) { MSCIC_WRITE(MSC01_IC_RAMW, (irq<