[POWERPC] Rename get_property to of_get_property: partial drivers
[linux-2.6-block.git] / drivers / macintosh / therm_windtunnel.c
index a1d3a987cb3acad619ed55adcc3b2d1752b9091b..35233de460ad7f6e574b552c710ea10b0867abae 100644 (file)
@@ -492,7 +492,7 @@ g4fan_init( void )
 
        if( !(np=of_find_node_by_name(NULL, "power-mgt")) )
                return -ENODEV;
-       info = get_property(np, "thermal-info", NULL);
+       info = of_get_property(np, "thermal-info", NULL);
        of_node_put(np);
 
        if( !info || !machine_is_compatible("PowerMac3,6") )