summaryrefslogtreecommitdiff
path: root/drivers/macintosh/via-pmu-led.c
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2007-04-27 07:41:15 +0400
committerPaul Mackerras <paulus@samba.org>2007-04-27 09:51:56 +0400
commit01b2726dd11ef198ac6cf8f88974b4427d40ffdb (patch)
tree55d37172978ce18678e381b0388e51c93e911565 /drivers/macintosh/via-pmu-led.c
parenta48141db68e4b9143759435badcc1a49d9022db4 (diff)
downloadlinux-01b2726dd11ef198ac6cf8f88974b4427d40ffdb.tar.xz
[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/via-pmu-led.c')
-rw-r--r--drivers/macintosh/via-pmu-led.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/macintosh/via-pmu-led.c b/drivers/macintosh/via-pmu-led.c
index f8d7a460c9a8..fc89a7047cd0 100644
--- a/drivers/macintosh/via-pmu-led.c
+++ b/drivers/macintosh/via-pmu-led.c
@@ -118,7 +118,7 @@ static int __init via_pmu_led_init(void)
dt = of_find_node_by_path("/");
if (dt == NULL)
return -ENODEV;
- model = get_property(dt, "model", NULL);
+ model = of_get_property(dt, "model", NULL);
if (model == NULL)
return -ENODEV;
if (strncmp(model, "PowerBook", strlen("PowerBook")) != 0 &&