coreboot-v2: drop this ugly historic union name in v2 that was dropped in v3
[coreboot.git] / src / devices / pciexp_device.c
index 862e0a9abe2de91ad9d663f5de6d144edb07fd3f..909026a36500180d1bb2af9434917ede6262a97e 100644 (file)
@@ -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;
                }