Fix typos in src/console/Kconfig
[coreboot.git] / src / northbridge / intel / i3100 / pciexp_porta_ep80579.c
index d6400d58590450abdfaa1ac63743e48faecede1a..3f84d8f1479bcebb7917f92a7051a78ca1f26392 100644 (file)
@@ -56,15 +56,14 @@ 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);
-               
+
                dev->command |= PCI_COMMAND_IO;
                dev->command |= PCI_COMMAND_MEMORY;
        }
        pci_dev_enable_resources(dev);
-       enable_childrens_resources(dev);
 }