[POWERPC] Rename get_property to of_get_property: drivers
[cascardo/linux.git] / drivers / hwmon / ams / ams-core.c
index f5ebad5..93b963f 100644 (file)
@@ -144,7 +144,7 @@ int ams_sensor_attach(void)
        const u32 *prop;
 
        /* Get orientation */
-       prop = get_property(ams_info.of_node, "orientation", NULL);
+       prop = of_get_property(ams_info.of_node, "orientation", NULL);
        if (!prop)
                return -ENODEV;
        ams_info.orient1 = *prop;