diff options
Diffstat (limited to 'drivers/usb/host/ehci-pci.c')
-rw-r--r-- | drivers/usb/host/ehci-pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/ehci-pci.c b/drivers/usb/host/ehci-pci.c index 87f3f24355f..3d66e77f25d 100644 --- a/drivers/usb/host/ehci-pci.c +++ b/drivers/usb/host/ehci-pci.c @@ -40,7 +40,7 @@ static pci_dev_t ehci_find_class(int index) pci_dev_t bdf; uint32_t class; - for (bus = 0; bus < pci_last_busno(); bus++) + for (bus = 0; bus <= pci_last_busno(); bus++) { for (devnum = 0; devnum < PCI_MAX_PCI_DEVICES-1; devnum++) { |