coreboot-v2: drop this ugly historic union name in v2 that was dropped in v3
[coreboot.git] / src / southbridge / broadcom / bcm5785 / bcm5785_sata.c
index 32b944bfdd5dacd514a0e58ef1b3232ca354ff2a..38cd6d4b3d24e61b15305e2424b0caf2ab7c045c 100644 (file)
@@ -25,7 +25,7 @@ static void sata_init(struct device *dev)
         volatile unsigned int *mmio_reg;
        int i;
 
-       if(!(dev->path.u.pci.devfn & 7)) { // only set it in Func0
+       if(!(dev->path.pci.devfn & 7)) { // only set it in Func0
                byte = pci_read_config8(dev, 0x78);
                byte |= (1<<7);
                pci_write_config8(dev, 0x78, byte);