[POWERPC] Rename get_property to of_get_property: arch/powerpc
[linux-2.6-block.git] / arch / powerpc / platforms / powermac / udbg_scc.c
index 379db05b0082418ee7232389e1d05b44cad4bc60..47de4d3fc1674008f90dbf380e0971c6cb2417ac 100644 (file)
@@ -81,7 +81,7 @@ void udbg_scc_init(int force_scc)
        macio = of_get_parent(escc);
        if (macio == NULL)
                goto bail;
-       path = get_property(of_chosen, "linux,stdout-path", NULL);
+       path = of_get_property(of_chosen, "linux,stdout-path", NULL);
        if (path != NULL)
                stdout = of_find_node_by_path(path);
        for (ch = NULL; (ch = of_get_next_child(escc, ch)) != NULL;) {
@@ -96,13 +96,13 @@ void udbg_scc_init(int force_scc)
        ch = ch_def ? ch_def : ch_a;
 
        /* Get address within mac-io ASIC */
-       reg = get_property(escc, "reg", NULL);
+       reg = of_get_property(escc, "reg", NULL);
        if (reg == NULL)
                goto bail;
        addr = reg[0];
 
        /* Get address of mac-io PCI itself */
-       reg = get_property(macio, "assigned-addresses", NULL);
+       reg = of_get_property(macio, "assigned-addresses", NULL);
        if (reg == NULL)
                goto bail;
        addr += reg[2];