Subject: [PATCH][MIPS] remove extra definitions for pb1200

From: Yoichi Yuasa <[email-masked]>
Date: Wed, 1 Nov 2006 18:40:15 +0900

Hi Ralf,

This patch has removed extra definitions.
These definitions are defined twice.

Yoichi

Signed-off-by: Yoichi Yuasa <[email-masked]>

diff -pruN -X mips/Documentation/dontdiff mips-orig/arch/mips/au1000/pb1200/board_setup.c mips/arch/mips/au1000/pb1200/board_setup.c
--- mips-orig/arch/mips/au1000/pb1200/board_setup.c	2006-11-01 14:58:06.339820500 +0900
+++ mips/arch/mips/au1000/pb1200/board_setup.c	2006-11-01 14:57:26.749346250 +0900
@@ -56,7 +56,7 @@
 
 extern char *prom_getcmdline(void);
 extern void _board_init_irq(void);
-extern void	(*board_init_irq)(void);
+extern void (*board_init_irq)(void);
 
 void board_reset (void)
 {
@@ -152,11 +152,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

---

From: Ralf Baechle <[email-masked]>
Date: Wed, 1 Nov 2006 12:50:35 +0000

> These definitions are defined twice.

Thanks, queued for 2.6.20,

  Ralf