Merge branches 'pm-cpuidle' and 'pm-cpufreq'
[firefly-linux-kernel-4.4.55.git] / drivers / cpufreq / pmac32-cpufreq.c
index 7615180d7ee3c497e915d72f18af11e9b3f09c5c..1f49d97a70ea164737570c3480a2dcac30265788 100644 (file)
@@ -611,7 +611,7 @@ static int __init pmac_cpufreq_setup(void)
        struct device_node      *cpunode;
        const u32               *value;
 
-       if (strstr(cmd_line, "nocpufreq"))
+       if (strstr(boot_command_line, "nocpufreq"))
                return 0;
 
        /* Get first CPU node */