summaryrefslogtreecommitdiffstats
path: root/include/asm-mips/traps.h
diff options
context:
space:
mode:
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>2008-04-25 18:55:30 +0200
committerRalf Baechle <ralf@linux-mips.org>2008-04-28 18:14:32 +0200
commit411ba7fcba54b30ba4ce2c492ea8d20f1d0db996 (patch)
tree1fe2b498d07cd685c142e037bda0885644f19705 /include/asm-mips/traps.h
parent[MIPS] cevt-gt641xx: Kill unnecessary include (diff)
downloadlinux-411ba7fcba54b30ba4ce2c492ea8d20f1d0db996.tar.xz
linux-411ba7fcba54b30ba4ce2c492ea8d20f1d0db996.zip
[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/traps.h')
-rw-r--r--include/asm-mips/traps.h2
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);
extern void (*board_nmi_handler_setup)(void);
extern void (*board_ejtag_handler_setup)(void);
+extern void (*board_bind_eic_interrupt)(int irq, int regset);
+extern void (*board_watchpoint_handler)(struct pt_regs *regs);
#endif /* _ASM_TRAPS_H */