]> err.no Git - linux-2.6/commitdiff
[MIPS] PB1200: Remove duplicate definitions
authorYoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Wed, 1 Nov 2006 09:40:15 +0000 (18:40 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 30 Nov 2006 01:14:45 +0000 (01:14 +0000)
Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/au1000/pb1200/board_setup.c

index 8b953b9fc25c7bd28116a562aee18f3e104d06fa..043302b7fe589d7eabc873d7d5172c05c6473381 100644 (file)
@@ -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