[PATCH][MIPS] add extern cobalt_board_id

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Ralf,

This patch has added extern cobalt_board_id.

Yoichi

Signed-off-by: Yoichi Yuasa <yoichi_yuasa@xxxxxxxxxxxxxx>

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)))


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux