From ac6dbb85b7f080d923013bff4e1d5267cb6f8a5a Mon Sep 17 00:00:00 2001 From: wdenk Date: Wed, 26 Mar 2003 11:42:53 +0000 Subject: Make compile clean, fix the usual small problems. --- board/esd/pci405/pci405.c | 1 - board/pm826/pm826.c | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'board') 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 -- cgit v1.2.1