aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty
diff options
context:
space:
mode:
authorGimcuan Hui <gimcuan@gmail.com>2017-11-05 05:06:19 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-11-08 12:58:31 +0100
commitd13551d1c9010b063a147839e29503ff8c632342 (patch)
treee86ca3253dc52c40e04c2a485b772da855573717 /drivers/tty
parenttty: serial: jsm: change the type of local variable (diff)
downloadlinux-dev-d13551d1c9010b063a147839e29503ff8c632342.tar.xz
linux-dev-d13551d1c9010b063a147839e29503ff8c632342.zip
tty: serial: jsm: add blank line after declarations
This patch fixes checkpatch.pl warning: Missing a blank line after declarations. Signed-off-by: Gimcuan Hui <gimcuan@gmail.com> Acked-by: Guilherme G. Piccoli <gpiccoli@linux.vnet.ibm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty')
-rw-r--r--drivers/tty/serial/jsm/jsm_tty.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/tty/serial/jsm/jsm_tty.c b/drivers/tty/serial/jsm/jsm_tty.c
index 729d2a083a74..ed58dfc3d40e 100644
--- a/drivers/tty/serial/jsm/jsm_tty.c
+++ b/drivers/tty/serial/jsm/jsm_tty.c
@@ -124,6 +124,7 @@ static void jsm_tty_set_mctrl(struct uart_port *port, unsigned int mctrl)
static void jsm_tty_write(struct uart_port *port)
{
struct jsm_channel *channel;
+
channel = container_of(port, struct jsm_channel, uart_port);
channel->ch_bd->bd_ops->copy_data_from_queue_to_uart(channel);
}