[POWERPC] Rename get_property to of_get_property: drivers
[linux-2.6.git] / drivers / macintosh / windfarm_lm75_sensor.c
index 3f7967f..ab4d1b6 100644 (file)
@@ -176,7 +176,7 @@ static int wf_lm75_attach(struct i2c_adapter *adapter)
        for (dev = NULL;
             (dev = of_get_next_child(busnode, dev)) != NULL;) {
                const char *loc =
-                       get_property(dev, "hwsensor-location", NULL);
+                       of_get_property(dev, "hwsensor-location", NULL);
                u8 addr;
 
                /* We must re-match the adapter in order to properly check