Commit f4ef08f0 authored by Kiran Padwal's avatar Kiran Padwal Committed by Greg Kroah-Hartman

Staging: gdm724x: gdm_tty.c: fix missing blank line after variable declaration

Checkpatch fix - Add missing blank line after variable declaration
Signed-off-by: default avatarKiran Padwal <kiran.padwal21@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7da8d6a0
...@@ -111,24 +111,28 @@ static int gdm_tty_install(struct tty_driver *driver, struct tty_struct *tty) ...@@ -111,24 +111,28 @@ static int gdm_tty_install(struct tty_driver *driver, struct tty_struct *tty)
static int gdm_tty_open(struct tty_struct *tty, struct file *filp) static int gdm_tty_open(struct tty_struct *tty, struct file *filp)
{ {
struct gdm *gdm = tty->driver_data; struct gdm *gdm = tty->driver_data;
return tty_port_open(&gdm->port, tty, filp); return tty_port_open(&gdm->port, tty, filp);
} }
static void gdm_tty_cleanup(struct tty_struct *tty) static void gdm_tty_cleanup(struct tty_struct *tty)
{ {
struct gdm *gdm = tty->driver_data; struct gdm *gdm = tty->driver_data;
tty_port_put(&gdm->port); tty_port_put(&gdm->port);
} }
static void gdm_tty_hangup(struct tty_struct *tty) static void gdm_tty_hangup(struct tty_struct *tty)
{ {
struct gdm *gdm = tty->driver_data; struct gdm *gdm = tty->driver_data;
tty_port_hangup(&gdm->port); tty_port_hangup(&gdm->port);
} }
static void gdm_tty_close(struct tty_struct *tty, struct file *filp) static void gdm_tty_close(struct tty_struct *tty, struct file *filp)
{ {
struct gdm *gdm = tty->driver_data; struct gdm *gdm = tty->driver_data;
tty_port_close(&gdm->port, tty, filp); tty_port_close(&gdm->port, tty, filp);
} }
...@@ -139,6 +143,7 @@ static int gdm_tty_recv_complete(void *data, ...@@ -139,6 +143,7 @@ static int gdm_tty_recv_complete(void *data,
int complete) int complete)
{ {
struct gdm *gdm = tty_dev->gdm[index]; struct gdm *gdm = tty_dev->gdm[index];
if (!GDM_TTY_READY(gdm)) { if (!GDM_TTY_READY(gdm)) {
if (complete == RECV_PACKET_PROCESS_COMPLETE) if (complete == RECV_PACKET_PROCESS_COMPLETE)
gdm_tty_recv(gdm, gdm_tty_recv_complete); gdm_tty_recv(gdm, gdm_tty_recv_complete);
......
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