diff options
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2008-04-25 12:55:30 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-04-28 12:14:32 -0400 |
commit | 411ba7fcba54b30ba4ce2c492ea8d20f1d0db996 (patch) | |
tree | 1fe2b498d07cd685c142e037bda0885644f19705 /include/asm-mips | |
parent | 855808392adf499a29e6bdb418f9474726ecbace (diff) |
[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 <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips')
-rw-r--r-- | include/asm-mips/traps.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-mips/traps.h b/include/asm-mips/traps.h index d02e019b0127..e5dbde625ec2 100644 --- a/include/asm-mips/traps.h +++ b/include/asm-mips/traps.h | |||
@@ -23,5 +23,7 @@ extern int (*board_be_handler)(struct pt_regs *regs, int is_fixup); | |||
23 | 23 | ||
24 | extern void (*board_nmi_handler_setup)(void); | 24 | extern void (*board_nmi_handler_setup)(void); |
25 | extern void (*board_ejtag_handler_setup)(void); | 25 | extern void (*board_ejtag_handler_setup)(void); |
26 | extern void (*board_bind_eic_interrupt)(int irq, int regset); | ||
27 | extern void (*board_watchpoint_handler)(struct pt_regs *regs); | ||
26 | 28 | ||
27 | #endif /* _ASM_TRAPS_H */ | 29 | #endif /* _ASM_TRAPS_H */ |