summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMarkus Klotzbuecher <mk@denx.de>2008-06-03 13:16:52 +0200
committerMarkus Klotzbuecher <mk@denx.de>2008-06-03 13:16:52 +0200
commitf2aeecc320f5b181b30effcaa67683aec8d5a843 (patch)
tree43a492b3f604adedc0ccc3a6432549681375b64f /drivers
parent6324e5bec8825f7fee3026ffbd394454ae8b53fb (diff)
parent1f1554841a4c8e069d331176f0c3059fb2bb8280 (diff)
downloadu-boot-imx-f2aeecc320f5b181b30effcaa67683aec8d5a843.zip
u-boot-imx-f2aeecc320f5b181b30effcaa67683aec8d5a843.tar.gz
u-boot-imx-f2aeecc320f5b181b30effcaa67683aec8d5a843.tar.bz2
Merge branch 'master' of git://www.denx.de/git/u-boot
Diffstat (limited to 'drivers')
-rw-r--r--drivers/usb/usb_ohci.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/usb/usb_ohci.c b/drivers/usb/usb_ohci.c
index 29fcbbe..fd60edb 100644
--- a/drivers/usb/usb_ohci.c
+++ b/drivers/usb/usb_ohci.c
@@ -53,6 +53,9 @@
#if defined(CONFIG_PCI_OHCI)
# include <pci.h>
+#if !defined(CONFIG_PCI_OHCI_DEVNO)
+#define CONFIG_PCI_OHCI_DEVNO 0
+#endif
#endif
#include <malloc.h>
@@ -1818,7 +1821,7 @@ int usb_lowlevel_init(void)
gohci.sleeping = 0;
gohci.irq = -1;
#ifdef CONFIG_PCI_OHCI
- pdev = pci_find_devices(ohci_pci_ids, 0);
+ pdev = pci_find_devices(ohci_pci_ids, CONFIG_PCI_OHCI_DEVNO);
if (pdev != -1) {
u16 vid, did;