linux-mips
[Top] [All Lists]

[PATCH][MIPS] add extern cobalt_board_id

To: Ralf Baechle <ralf@linux-mips.org>
Subject: [PATCH][MIPS] add extern cobalt_board_id
From: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Date: Thu, 10 May 2007 20:00:55 +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 added extern cobalt_board_id.

Yoichi

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

diff -pruN -X cobalt/Documentation/dontdiff 
cobalt-orig/arch/mips/pci/fixup-cobalt.c cobalt/arch/mips/pci/fixup-cobalt.c
--- cobalt-orig/arch/mips/pci/fixup-cobalt.c    2007-04-05 17:27:48.585423250 
+0900
+++ cobalt/arch/mips/pci/fixup-cobalt.c 2007-04-05 18:05:14.340009750 +0900
@@ -17,9 +17,7 @@
 #include <asm/io.h>
 #include <asm/gt64120.h>
 
-#include <asm/mach-cobalt/cobalt.h>
-
-extern int cobalt_board_id;
+#include <cobalt.h>
 
 static void qube_raq_galileo_early_fixup(struct pci_dev *dev)
 {
diff -pruN -X cobalt/Documentation/dontdiff 
cobalt-orig/include/asm-mips/mach-cobalt/cobalt.h 
cobalt/include/asm-mips/mach-cobalt/cobalt.h
--- cobalt-orig/include/asm-mips/mach-cobalt/cobalt.h   2007-04-05 
17:28:47.529107000 +0900
+++ cobalt/include/asm-mips/mach-cobalt/cobalt.h        2007-04-05 
18:04:30.681281250 +0900
@@ -69,6 +69,8 @@
 #define COBALT_BRD_ID_QUBE2    0x5
 #define COBALT_BRD_ID_RAQ2     0x6
 
+extern int cobalt_board_id;
+
 #define PCI_CFG_SET(devfn,where)                                       \
        GT_WRITE(GT_PCI0_CFGADDR_OFS, (0x80000000 | (PCI_SLOT (devfn) << 11) |  
        \
                (PCI_FUNC (devfn) << 8) | (where)))

<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH][MIPS] add extern cobalt_board_id, Yoichi Yuasa <=