of: add 'of_' prefix to machine_is_compatible()
[deliverable/linux.git] / drivers / macintosh / windfarm_cpufreq_clamp.c
index 900aade0619871c683b2a29cf45a3638c925a957..1a77a7c97d0e58d3141b667b6ff2b55be0aa3f52 100644 (file)
@@ -76,9 +76,9 @@ static int __init wf_cpufreq_clamp_init(void)
        struct wf_control *clamp;
 
        /* Don't register on old machines that use therm_pm72 for now */
-       if (machine_is_compatible("PowerMac7,2") ||
-           machine_is_compatible("PowerMac7,3") ||
-           machine_is_compatible("RackMac3,1"))
+       if (of_machine_is_compatible("PowerMac7,2") ||
+           of_machine_is_compatible("PowerMac7,3") ||
+           of_machine_is_compatible("RackMac3,1"))
                return -ENODEV;
 
        clamp = kmalloc(sizeof(struct wf_control), GFP_KERNEL);
This page took 0.029687 seconds and 5 git commands to generate.