diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/cpufreq/pmac32-cpufreq.c | 2 | ||||
-rw-r--r-- | drivers/tty/hvc/hvc_vio.c | 2 |
2 files changed, 2 insertions, 2 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 */ |
diff --git a/drivers/tty/hvc/hvc_vio.c b/drivers/tty/hvc/hvc_vio.c index 5618b5fc7500..f575a9b5ede7 100644 --- a/drivers/tty/hvc/hvc_vio.c +++ b/drivers/tty/hvc/hvc_vio.c | |||
@@ -452,7 +452,7 @@ void __init hvc_vio_init_early(void) | |||
452 | return; | 452 | return; |
453 | #endif | 453 | #endif |
454 | /* Check whether the user has requested a different console. */ | 454 | /* Check whether the user has requested a different console. */ |
455 | if (!strstr(cmd_line, "console=")) | 455 | if (!strstr(boot_command_line, "console=")) |
456 | add_preferred_console("hvc", 0, NULL); | 456 | add_preferred_console("hvc", 0, NULL); |
457 | hvc_instantiate(0, 0, ops); | 457 | hvc_instantiate(0, 0, ops); |
458 | } | 458 | } |