[POWERPC] Rename get_property to of_get_property: partial drivers
[firefly-linux-kernel-4.4.55.git] / drivers / macintosh / via-cuda.c
index d58fcf6cca0aec41f68344f9cf99e880193ba9da..76d21775fc35b8362dec4ce9dbd694d1d468b5b6 100644 (file)
@@ -131,7 +131,7 @@ int __init find_via_cuda(void)
     if (vias == 0)
        return 0;
 
-    reg = get_property(vias, "reg", NULL);
+    reg = of_get_property(vias, "reg", NULL);
     if (reg == NULL) {
            printk(KERN_ERR "via-cuda: No \"reg\" property !\n");
            goto fail;