From: Darren Hart Date: Fri, 9 Mar 2012 17:51:51 +0000 (-0800) Subject: pch_uart: Use existing default_baud in setup_console X-Git-Tag: MMI-PSA29.97-13-9~17267^2~14 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7ce9251d606780a53efc7dcdaa4518d93867c27f;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git pch_uart: Use existing default_baud in setup_console Rather than hardcode 9600, use the existing default_baud parameter (which also defaults to 9600). Signed-off-by: Darren Hart CC: Tomoya MORINAGA CC: Feng Tang CC: Alan Cox Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/tty/serial/pch_uart.c b/drivers/tty/serial/pch_uart.c index 46f6fbf41d91..cca742b01800 100644 --- a/drivers/tty/serial/pch_uart.c +++ b/drivers/tty/serial/pch_uart.c @@ -1566,7 +1566,7 @@ pch_console_write(struct console *co, const char *s, unsigned int count) static int __init pch_console_setup(struct console *co, char *options) { struct uart_port *port; - int baud = 9600; + int baud = default_baud; int bits = 8; int parity = 'n'; int flow = 'n';