[MIPS] Add extern cobalt_board_id
authorYoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Thu, 10 May 2007 11:00:55 +0000 (20:00 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 11 May 2007 13:28:32 +0000 (14:28 +0100)
Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/pci/fixup-cobalt.c
include/asm-mips/mach-cobalt/cobalt.h

index 7d5f6bbf7a9d59ef59a1b236344d57f19004d3f5..f4acae694a5acdad4d818dbd028d420da56b3784 100644 (file)
@@ -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)
 {
index 24a8d51a55a35ec4b5725695cb1b93718c65326b..684a501c04cfcf9f900e0bd3c70640f65d9d7505 100644 (file)
@@ -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)))