aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/pmac32-cpufreq.c
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2014-09-17 00:39:36 -0400
committerMichael Ellerman <mpe@ellerman.id.au>2014-10-02 03:33:55 -0400
commit3e47d1474c2b4099f0fadd12a6553fdb2e8feaae (patch)
tree8d7dee7104d3198cc7ca3d2789a0e0b8846f83ca /drivers/cpufreq/pmac32-cpufreq.c
parentc7d1f6afe062d2dc4bb8109856519570f2fe3c13 (diff)
powerpc: Remove powerpc specific cmd_line
There is no need for yet another copy of the command line, just use boot_command_line like everyone else. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'drivers/cpufreq/pmac32-cpufreq.c')
-rw-r--r--drivers/cpufreq/pmac32-cpufreq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpufreq/pmac32-cpufreq.c b/drivers/cpufreq/pmac32-cpufreq.c
index 7615180d7ee3..1f49d97a70ea 100644
--- a/drivers/cpufreq/pmac32-cpufreq.c
+++ b/drivers/cpufreq/pmac32-cpufreq.c
@@ -611,7 +611,7 @@ static int __init pmac_cpufreq_setup(void)
611 struct device_node *cpunode; 611 struct device_node *cpunode;
612 const u32 *value; 612 const u32 *value;
613 613
614 if (strstr(cmd_line, "nocpufreq")) 614 if (strstr(boot_command_line, "nocpufreq"))
615 return 0; 615 return 0;
616 616
617 /* Get first CPU node */ 617 /* Get first CPU node */