]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/freescale/mpc8360emds/pci.c
Update libfdt from device tree compiler (dtc)
[karo-tx-uboot.git] / board / freescale / mpc8360emds / pci.c
index cf7ef90443f7e97c7de11a43a456bfeae78db913..f18e532ef5fcdd38968592083245bc72b9422085 100644 (file)
@@ -269,7 +269,7 @@ ft_pci_setup(void *blob, bd_t *bd)
        int err;
        int tmp[2];
 
-       nodeoffset = fdt_find_node_by_path(blob, "/" OF_SOC "/pci@8500");
+       nodeoffset = fdt_path_offset(blob, "/" OF_SOC "/pci@8500");
        if (nodeoffset >= 0) {
                tmp[0] = cpu_to_be32(hose[0].first_busno);
                tmp[1] = cpu_to_be32(hose[0].last_busno);