Same conversion as with resources from static arrays to lists, except
[coreboot.git] / src / northbridge / intel / i3100 / pciexp_porta_ep80579.c
index 42f624aaf7f4d065d01d9c46a378f5b994ee7d8f..a17cb0b3f2b763ac14c69f6787c6fe20f45f25a3 100644 (file)
@@ -56,7 +56,7 @@ static void pcie_init(struct device *dev)
 
 static void pcie_bus_enable_resources(struct device *dev)
 {
-       if (dev->link[0].bridge_ctrl & PCI_BRIDGE_CTL_VGA) {
+       if (dev->link_list->bridge_ctrl & PCI_BRIDGE_CTL_VGA) {
                printk(BIOS_SPEW, "Enable VGA IO/MEM forwarding on PCIe port\n");
                pci_write_config8(dev, PCI_BRIDGE_CONTROL, 8);