diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2007-04-03 22:40:39 +1000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-04-13 03:55:19 +1000 |
commit | d05c7a80cf39ae7d0f8d0c3e47c93d51fcd393d3 (patch) | |
tree | 6b51334a2427c0392c391d0e0bfab0ab9aae690e /drivers/macintosh/windfarm_max6690_sensor.c | |
parent | c4f55b394505fff6ad831d17e36e02dde1c3a8d7 (diff) | |
download | blackbird-op-linux-d05c7a80cf39ae7d0f8d0c3e47c93d51fcd393d3.tar.gz blackbird-op-linux-d05c7a80cf39ae7d0f8d0c3e47c93d51fcd393d3.zip |
[POWERPC] Rename get_property to of_get_property: drivers
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'drivers/macintosh/windfarm_max6690_sensor.c')
-rw-r--r-- | drivers/macintosh/windfarm_max6690_sensor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/macintosh/windfarm_max6690_sensor.c b/drivers/macintosh/windfarm_max6690_sensor.c index eae1189d6c41..eaa74afa175b 100644 --- a/drivers/macintosh/windfarm_max6690_sensor.c +++ b/drivers/macintosh/windfarm_max6690_sensor.c @@ -134,7 +134,7 @@ static int wf_max6690_attach(struct i2c_adapter *adapter) if (!device_is_compatible(dev, "max6690")) continue; addr = pmac_i2c_get_dev_addr(dev); - loc = get_property(dev, "hwsensor-location", NULL); + loc = of_get_property(dev, "hwsensor-location", NULL); if (loc == NULL || addr == 0) continue; printk("found max6690, loc=%s addr=0x%02x\n", loc, addr); |