Skip to content

Commit

Permalink
pch_uart: Use existing default_baud in setup_console
Browse files Browse the repository at this point in the history
Rather than hardcode 9600, use the existing default_baud parameter (which
also defaults to 9600).

Signed-off-by: Darren Hart <[email protected]>
CC: Tomoya MORINAGA <[email protected]>
CC: Feng Tang <[email protected]>
CC: Alan Cox <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
dvhart authored and gregkh committed Mar 9, 2012
1 parent 2a44feb commit 7ce9251
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/tty/serial/pch_uart.c
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down

0 comments on commit 7ce9251

Please sign in to comment.