Skip to content

Commit

Permalink
[MIPS] Add extern cobalt_board_id
Browse files Browse the repository at this point in the history
Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Yoichi Yuasa authored and Ralf Baechle committed May 11, 2007
1 parent f009bbf commit 44320f2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 1 addition & 3 deletions arch/mips/pci/fixup-cobalt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
2 changes: 2 additions & 0 deletions include/asm-mips/mach-cobalt/cobalt.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)))
Expand Down

0 comments on commit 44320f2

Please sign in to comment.