diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2007-04-26 23:41:15 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-04-27 01:51:56 -0400 |
commit | 01b2726dd11ef198ac6cf8f88974b4427d40ffdb (patch) | |
tree | 55d37172978ce18678e381b0388e51c93e911565 /drivers/macintosh/therm_windtunnel.c | |
parent | a48141db68e4b9143759435badcc1a49d9022db4 (diff) |
[POWERPC] Rename get_property to of_get_property: partial drivers
This does drivers/machintosh and the hvc code.
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'drivers/macintosh/therm_windtunnel.c')
-rw-r--r-- | drivers/macintosh/therm_windtunnel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/macintosh/therm_windtunnel.c b/drivers/macintosh/therm_windtunnel.c index a1d3a987cb3a..35233de460ad 100644 --- a/drivers/macintosh/therm_windtunnel.c +++ b/drivers/macintosh/therm_windtunnel.c | |||
@@ -492,7 +492,7 @@ g4fan_init( void ) | |||
492 | 492 | ||
493 | if( !(np=of_find_node_by_name(NULL, "power-mgt")) ) | 493 | if( !(np=of_find_node_by_name(NULL, "power-mgt")) ) |
494 | return -ENODEV; | 494 | return -ENODEV; |
495 | info = get_property(np, "thermal-info", NULL); | 495 | info = of_get_property(np, "thermal-info", NULL); |
496 | of_node_put(np); | 496 | of_node_put(np); |
497 | 497 | ||
498 | if( !info || !machine_is_compatible("PowerMac3,6") ) | 498 | if( !info || !machine_is_compatible("PowerMac3,6") ) |