diff options
author | Darren Hart <dvhart@linux.intel.com> | 2012-03-09 12:51:51 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-03-09 15:43:20 -0500 |
commit | 7ce9251d606780a53efc7dcdaa4518d93867c27f (patch) | |
tree | 70ed85732a6206c1dd08f686c990b33789acd08c /drivers/tty | |
parent | 2a44feb20bbe3db3b86bc5d976c8647cfda48588 (diff) |
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 <dvhart@linux.intel.com>
CC: Tomoya MORINAGA <tomoya.rohm@gmail.com>
CC: Feng Tang <feng.tang@intel.com>
CC: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty')
-rw-r--r-- | drivers/tty/serial/pch_uart.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
1566 | static int __init pch_console_setup(struct console *co, char *options) | 1566 | static int __init pch_console_setup(struct console *co, char *options) |
1567 | { | 1567 | { |
1568 | struct uart_port *port; | 1568 | struct uart_port *port; |
1569 | int baud = 9600; | 1569 | int baud = default_baud; |
1570 | int bits = 8; | 1570 | int bits = 8; |
1571 | int parity = 'n'; | 1571 | int parity = 'n'; |
1572 | int flow = 'n'; | 1572 | int flow = 'n'; |