projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
of: add 'of_' prefix to machine_is_compatible()
[linux-2.6-microblaze.git]
/
drivers
/
macintosh
/
windfarm_pm81.c
diff --git
a/drivers/macintosh/windfarm_pm81.c
b/drivers/macintosh/windfarm_pm81.c
index
abbe206
..
565d5b2
100644
(file)
--- a/
drivers/macintosh/windfarm_pm81.c
+++ b/
drivers/macintosh/windfarm_pm81.c
@@
-779,8
+779,8
@@
static int __init wf_smu_init(void)
{
int rc = -ENODEV;
- if (machine_is_compatible("PowerMac8,1") ||
- machine_is_compatible("PowerMac8,2"))
+ if (
of_
machine_is_compatible("PowerMac8,1") ||
+
of_
machine_is_compatible("PowerMac8,2"))
rc = wf_init_pm();
if (rc == 0) {