aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/fwserial/fwserial.c
diff options
context:
space:
mode:
authorBhanusree Pola <bhanusreemahesh@gmail.com>2019-02-25 20:30:51 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-02-26 11:40:08 +0100
commitf1a32f95865d6da6706dc00cfd693629a8a128a9 (patch)
treed45ef3f75feb3e2001b365f0b21e4560643faf58 /drivers/staging/fwserial/fwserial.c
parentStaging: fbtft: Fix line over 80 characters (diff)
downloadlinux-dev-f1a32f95865d6da6706dc00cfd693629a8a128a9.tar.xz
linux-dev-f1a32f95865d6da6706dc00cfd693629a8a128a9.zip
Staging: fwserial: Add blank line after declarations
Add blank line after the structure declaration, struct fwtty_port *port = tty->driver_data; Issue found using checkpatch.pl Signed-off-by: Bhanusree Pola <bhanusreemahesh@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to '')
-rw-r--r--drivers/staging/fwserial/fwserial.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/fwserial/fwserial.c b/drivers/staging/fwserial/fwserial.c
index 3e416f5bbcba..a1b90ea7fcb8 100644
--- a/drivers/staging/fwserial/fwserial.c
+++ b/drivers/staging/fwserial/fwserial.c
@@ -1213,6 +1213,7 @@ static int get_serial_info(struct tty_struct *tty,
struct serial_struct *ss)
{
struct fwtty_port *port = tty->driver_data;
+
mutex_lock(&port->port.mutex);
ss->type = PORT_UNKNOWN;
ss->line = port->port.tty->index;