aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/macintosh/via-pmu-led.c
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2007-04-26 23:41:15 -0400
committerPaul Mackerras <paulus@samba.org>2007-04-27 01:51:56 -0400
commit01b2726dd11ef198ac6cf8f88974b4427d40ffdb (patch)
tree55d37172978ce18678e381b0388e51c93e911565 /drivers/macintosh/via-pmu-led.c
parenta48141db68e4b9143759435badcc1a49d9022db4 (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/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)
118 dt = of_find_node_by_path("/"); 118 dt = of_find_node_by_path("/");
119 if (dt == NULL) 119 if (dt == NULL)
120 return -ENODEV; 120 return -ENODEV;
121 model = get_property(dt, "model", NULL); 121 model = of_get_property(dt, "model", NULL);
122 if (model == NULL) 122 if (model == NULL)
123 return -ENODEV; 123 return -ENODEV;
124 if (strncmp(model, "PowerBook", strlen("PowerBook")) != 0 && 124 if (strncmp(model, "PowerBook", strlen("PowerBook")) != 0 &&