X-Git-Url: http://ftp.safe.ca/?a=blobdiff_plain;f=drivers%2Fmacintosh%2Fwindfarm_pm112.c;h=e0ee80700cde4713430452bffbeb0625a51479db;hb=71a157e8edca55198e808f8561dd49017a54ee34;hp=73d695dc9e5059c950c99f8c08a0cd30a2141c39;hpb=23386fe572028ca0f9249fb3c71ed31b54cf1665;p=safe%2Fjmp%2Flinux-2.6 diff --git a/drivers/macintosh/windfarm_pm112.c b/drivers/macintosh/windfarm_pm112.c index 73d695d..e0ee807 100644 --- 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 */