Pull thermal into release branch
[linux-drm-fsl-dcu.git] / arch / powerpc / platforms / powermac / pfunc_base.c
index 5c6c15c5f9a382fc529b636e270986b7825c88f8..45d54b9ad9e04b0941bb94699a6373fe0dec53d0 100644 (file)
@@ -114,7 +114,7 @@ static void macio_gpio_init_one(struct macio_chip *macio)
         * we just create them all
         */
        for (gp = NULL; (gp = of_get_next_child(gparent, gp)) != NULL;) {
-               const u32 *reg = get_property(gp, "reg", NULL);
+               const u32 *reg = of_get_property(gp, "reg", NULL);
                unsigned long offset;
                if (reg == NULL)
                        continue;