summaryrefslogtreecommitdiffstats
path: root/board
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-03-26 11:42:53 +0000
committerwdenk <wdenk>2003-03-26 11:42:53 +0000
commitac6dbb85b7f080d923013bff4e1d5267cb6f8a5a (patch)
tree36654d13ca2b52408810f905ccbb3143cb82ce1a /board
parent2a46cabd77eb8b94c6cbb59ee65afbf29815ba41 (diff)
downloadblackbird-obmc-uboot-ac6dbb85b7f080d923013bff4e1d5267cb6f8a5a.tar.gz
blackbird-obmc-uboot-ac6dbb85b7f080d923013bff4e1d5267cb6f8a5a.zip
Make compile clean, fix the usual small problems.
Diffstat (limited to 'board')
-rw-r--r--board/esd/pci405/pci405.c1
-rw-r--r--board/pm826/pm826.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/board/esd/pci405/pci405.c b/board/esd/pci405/pci405.c
index a4f697409c..9035bdba45 100644
--- a/board/esd/pci405/pci405.c
+++ b/board/esd/pci405/pci405.c
@@ -103,7 +103,6 @@ int misc_init_r (void)
int status;
int index;
int i;
- struct pci_config_regs *pci_regs;
unsigned int *ptr;
unsigned int *magic;
diff --git a/board/pm826/pm826.c b/board/pm826/pm826.c
index 926d74bdd6..86a928bcf4 100644
--- a/board/pm826/pm826.c
+++ b/board/pm826/pm826.c
@@ -351,6 +351,7 @@ void doc_init (void)
}
#endif
+#ifdef CONFIG_PCI
struct pci_controller hose;
extern void pci_mpc8250_init(struct pci_controller *);
@@ -359,3 +360,4 @@ void pci_init_board(void)
{
pci_mpc8250_init(&hose);
}
+#endif
OpenPOWER on IntegriCloud