From: Yoichi Yuasa Date: Wed, 1 Nov 2006 09:40:15 +0000 (+0900) Subject: [MIPS] PB1200: Remove duplicate definitions X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0d02f0734f8d2310497fae4f960c978f679f66d9;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git [MIPS] PB1200: Remove duplicate definitions Signed-off-by: Yoichi Yuasa Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/au1000/pb1200/board_setup.c b/arch/mips/au1000/pb1200/board_setup.c index 8b953b9fc25c..043302b7fe58 100644 --- a/arch/mips/au1000/pb1200/board_setup.c +++ b/arch/mips/au1000/pb1200/board_setup.c @@ -55,7 +55,7 @@ #endif extern void _board_init_irq(void); -extern void (*board_init_irq)(void); +extern void (*board_init_irq)(void); void board_reset (void) { @@ -151,11 +151,7 @@ void __init board_setup(void) #endif /* Setup Pb1200 External Interrupt Controller */ - { - extern void (*board_init_irq)(void); - extern void _board_init_irq(void); - board_init_irq = _board_init_irq; - } + board_init_irq = _board_init_irq; } int