summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.(none)>2005-09-25 00:00:45 +0200
committerWolfgang Denk <wd@pollux.(none)>2005-09-25 00:00:45 +0200
commit3706ba1a361deba22602d0a5322d1667e8b9a114 (patch)
treede69317c5914ea1e9ec5b173066ee3b15b0c39db /drivers
parent9a9200b4a78bc83eee9a927b95cd2185fda7a9dd (diff)
Fix warnings for PCI code on ixp
Patch by Joe <lgxue@yahoo.com>, 13 Jan 2005
Diffstat (limited to 'drivers')
-rw-r--r--drivers/pci_indirect.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/pci_indirect.c b/drivers/pci_indirect.c
index 5987ac46a6..e8f19f5701 100644
--- a/drivers/pci_indirect.c
+++ b/drivers/pci_indirect.c
@@ -12,7 +12,7 @@
#include <common.h>
#ifdef CONFIG_PCI
-#ifndef __I386__
+#if (!defined(__I386__) && !defined(CONFIG_IXDP425))
#include <asm/processor.h>
#include <asm/io.h>
@@ -118,5 +118,5 @@ void pci_setup_indirect(struct pci_controller* hose, u32 cfg_addr, u32 cfg_data)
hose->cfg_data = (unsigned char *) cfg_data;
}
-#endif
-#endif
+#endif /* !__I386__ && !CONFIG_IXDP425 */
+#endif /* CONFIG_PCI */