diff options
author | Bhanusree Pola <bhanusreemahesh@gmail.com> | 2019-02-25 20:30:51 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-02-26 11:40:08 +0100 |
commit | f1a32f95865d6da6706dc00cfd693629a8a128a9 (patch) | |
tree | d45ef3f75feb3e2001b365f0b21e4560643faf58 /drivers/staging/fwserial | |
parent | Staging: fbtft: Fix line over 80 characters (diff) | |
download | wireguard-linux-f1a32f95865d6da6706dc00cfd693629a8a128a9.tar.xz wireguard-linux-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 'drivers/staging/fwserial')
-rw-r--r-- | drivers/staging/fwserial/fwserial.c | 1 |
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; |