Commit d273e201 authored by Mike Frysinger's avatar Mike Frysinger Committed by Linus Torvalds

Blackfin Serial Driver: trim trailing whitespace -- no functional changes

Signed-off-by: default avatarMike Frysinger <vapier.adi@gmail.com>
Signed-off-by: default avatarBryan Wu <cooloney@kernel.org>
Signed-off-by: default avatarAlan Cox <alan@redhat.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent ccfbc3e1
/* /*
* Blackfin On-Chip Serial Driver * Blackfin On-Chip Serial Driver
* *
* Copyright 2006-2007 Analog Devices Inc. * Copyright 2006-2008 Analog Devices Inc.
* *
* Enter bugs at http://blackfin.uclinux.org/ * Enter bugs at http://blackfin.uclinux.org/
* *
...@@ -126,13 +126,13 @@ static int kgdb_entry_state; ...@@ -126,13 +126,13 @@ static int kgdb_entry_state;
void kgdb_put_debug_char(int chr) void kgdb_put_debug_char(int chr)
{ {
struct bfin_serial_port *uart; struct bfin_serial_port *uart;
if (CONFIG_KGDB_UART_PORT < 0 if (CONFIG_KGDB_UART_PORT < 0
|| CONFIG_KGDB_UART_PORT >= BFIN_UART_NR_PORTS) || CONFIG_KGDB_UART_PORT >= BFIN_UART_NR_PORTS)
uart = &bfin_serial_ports[0]; uart = &bfin_serial_ports[0];
else else
uart = &bfin_serial_ports[CONFIG_KGDB_UART_PORT]; uart = &bfin_serial_ports[CONFIG_KGDB_UART_PORT];
while (!(UART_GET_LSR(uart) & THRE)) { while (!(UART_GET_LSR(uart) & THRE)) {
SSYNC(); SSYNC();
} }
...@@ -152,7 +152,7 @@ int kgdb_get_debug_char(void) ...@@ -152,7 +152,7 @@ int kgdb_get_debug_char(void)
uart = &bfin_serial_ports[0]; uart = &bfin_serial_ports[0];
else else
uart = &bfin_serial_ports[CONFIG_KGDB_UART_PORT]; uart = &bfin_serial_ports[CONFIG_KGDB_UART_PORT];
while(!(UART_GET_LSR(uart) & DR)) { while(!(UART_GET_LSR(uart) & DR)) {
SSYNC(); SSYNC();
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment