aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty
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/tty
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/tty')
-rw-r--r--drivers/tty/hvc/hvc_vio.c2
1 files changed, 1 insertions, 1 deletions
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}