diff options
Diffstat (limited to 'src/devices/pciexp_device.c')
-rw-r--r-- | src/devices/pciexp_device.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/pciexp_device.c b/src/devices/pciexp_device.c index 862e0a9abe..909026a365 100644 --- a/src/devices/pciexp_device.c +++ b/src/devices/pciexp_device.c @@ -45,8 +45,8 @@ unsigned int pciexp_scan_bus(struct bus *bus, device_t child; max = pci_scan_bus(bus, min_devfn, max_devfn, max); for(child = bus->children; child; child = child->sibling) { - if ( (child->path.u.pci.devfn < min_devfn) || - (child->path.u.pci.devfn > max_devfn)) + if ( (child->path.pci.devfn < min_devfn) || + (child->path.pci.devfn > max_devfn)) { continue; } |