aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/macintosh/via-pmu-led.c
diff options
context:
space:
mode:
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 fc89a7047cd0..f8d7a460c9a8 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 = of_get_property(dt, "model", NULL); 121 model = 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 &&