projects
/
firefly-linux-kernel-4.4.55.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()
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
macintosh
/
windfarm_pm112.c
diff --git
a/drivers/macintosh/windfarm_pm112.c
b/drivers/macintosh/windfarm_pm112.c
index 73d695dc9e5059c950c99f8c08a0cd30a2141c39..e0ee80700cde4713430452bffbeb0625a51479db 100644
(file)
--- a/
drivers/macintosh/windfarm_pm112.c
+++ b/
drivers/macintosh/windfarm_pm112.c
@@
-676,7
+676,7
@@
static int __init wf_pm112_init(void)
{
struct device_node *cpu;
- if (!machine_is_compatible("PowerMac11,2"))
+ if (!
of_
machine_is_compatible("PowerMac11,2"))
return -ENODEV;
/* Count the number of CPU cores */