summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
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 a4f6974..9035bdb 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 926d74b..86a928b 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