OSDN Git Service

tty: Move serial8250_stop_rx() in front of serial8250_start_tx()
authorMatwey V. Kornilov <matwey@sai.msu.ru>
Mon, 1 Feb 2016 18:09:20 +0000 (21:09 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 7 Feb 2016 06:23:26 +0000 (22:23 -0800)
commita07a70bcb72e4a766c8d3173986a773cef842d30
treef4ac35699db5798a1d6d90349d07b755d369bdc2
parentb85e5ed5621b3a19f1ca20b30fd64803aa3d5ff8
tty: Move serial8250_stop_rx() in front of serial8250_start_tx()

Software RS485 emultaion is to be added in the following commit.
serial8250_start_tx() will need to refer serial8250_stop_rx().
Move serial8250_stop_rx() in front of serial8250_start_tx() in order
to avoid function forward declaration.

Signed-off-by: Matwey V. Kornilov <matwey@sai.msu.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_port.c