diff options
author | Wu Zhangjin <wuzhangjin@gmail.com> | 2010-07-24 09:22:13 +0800 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2010-08-05 13:26:23 +0100 |
commit | b8c7428af023c4cc37b8651e309713c1f4d9a18e (patch) | |
tree | b3ed6ba799a19e545696759722b0722072202506 /arch/mips/include/asm/mach-loongson/loongson.h | |
parent | 4c076fb41ac93bc0cbd55f2a731cc31337804acb (diff) | |
download | op-kernel-dev-b8c7428af023c4cc37b8651e309713c1f4d9a18e.zip op-kernel-dev-b8c7428af023c4cc37b8651e309713c1f4d9a18e.tar.gz |
MIPS: Loongson: Remove set_irq_trigger_mode()
set_irq_trigger_mode() is not needed on all platforms so remove it
and move the related source code to mach_init_irq().
This will allow gdium to share the common irq.c without adding an empty
set_irq_trigger_mode().
Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/1493/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/asm/mach-loongson/loongson.h')
-rw-r--r-- | arch/mips/include/asm/mach-loongson/loongson.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/mips/include/asm/mach-loongson/loongson.h b/arch/mips/include/asm/mach-loongson/loongson.h index fcdbe3a..53ee881 100644 --- a/arch/mips/include/asm/mach-loongson/loongson.h +++ b/arch/mips/include/asm/mach-loongson/loongson.h @@ -45,7 +45,6 @@ static inline void prom_init_uart_base(void) /* irq operation functions */ extern void bonito_irqdispatch(void); extern void __init bonito_irq_init(void); -extern void __init set_irq_trigger_mode(void); extern void __init mach_init_irq(void); extern void mach_irq_dispatch(unsigned int pending); extern int mach_i8259_irq(void); |