linux-mips
[Top] [All Lists]

[PATCH][MIPS] remove extra definitions for pb1200

To: Ralf Baechle <ralf@linux-mips.org>
Subject: [PATCH][MIPS] remove extra definitions for pb1200
From: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Date: Wed, 1 Nov 2006 18:40:15 +0900
Cc: yoichi_yuasa@tripeaks.co.jp, linux-mips <linux-mips@linux-mips.org>
Organization: TriPeaks Corporation
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
Hi Ralf,

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

Yoichi

Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>

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

<Prev in Thread] Current Thread [Next in Thread>