coreboot-v2: drop this ugly historic union name in v2 that was dropped in v3
[coreboot.git] / src / southbridge / nvidia / ck804 / ck804.c
index 209b15c26cbdab3fda095dc2060a435364a5ba77..4adf81930485185d5e887ef8f26ea8a5d0ba77fc 100644 (file)
@@ -61,7 +61,7 @@ void ck804_enable(device_t dev)
                deviceid = dev->device;
        }
 
-       devfn = (dev->path.u.pci.devfn) & ~7;
+       devfn = (dev->path.pci.devfn) & ~7;
        switch (deviceid) {
        case PCI_DEVICE_ID_NVIDIA_CK804_SM:
                index = 16;