Same conversion as with resources from static arrays to lists, except
[coreboot.git] / src / cpu / amd / sc520 / sc520.c
index 4c93ebd29565a746038e9ccecdd416c95d015555..400ba6e622bc9c6267bc35834512570a54fbb39a 100644 (file)
@@ -130,8 +130,8 @@ static void pci_domain_set_resources(device_t dev)
        device_t mc_dev;
         uint32_t pci_tolm;
   printk(BIOS_SPEW, "%s\n", __func__);
-        pci_tolm = find_pci_tolm(&dev->link[0]);
-       mc_dev = dev->link[0].children;
+        pci_tolm = find_pci_tolm(dev->link_list);
+       mc_dev = dev->link_list->children;
        if (mc_dev) {
                unsigned long tomk, tolmk;
                //              unsigned char rambits;
@@ -168,7 +168,7 @@ static void pci_domain_set_resources(device_t dev)
                idx = 10;
                ram_resource(dev, idx++, 0, tolmk);
        }
-       assign_resources(&dev->link[0]);
+       assign_resources(dev->link_list);
 }
 
 #if 0