diff options
author | Mahati Chamarthy <mahati.chamarthy@gmail.com> | 2014-09-29 14:12:28 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-10-02 09:37:44 -0700 |
commit | 0eaa02e66d7059cd4e08171a2cc6f8a0ec677ce1 (patch) | |
tree | 76426c9f761f4e698e34ce32a12a09cf64cbbfc8 /drivers/staging/dgnc | |
parent | 3c4019d3e0d77c8992225efe4fc7420677b8ab40 (diff) |
Staging: dgnc: Add missing blank line
This fixes the following checkpatch.pl warning:
WARNING: Missing a blank line after declarations
Signed-off-by: Mahati Chamarthy <mahati.chamarthy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/dgnc')
-rw-r--r-- | drivers/staging/dgnc/dgnc_tty.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/dgnc/dgnc_tty.c b/drivers/staging/dgnc/dgnc_tty.c index 4a56e97fe4ac..07fba1e9afaf 100644 --- a/drivers/staging/dgnc/dgnc_tty.c +++ b/drivers/staging/dgnc/dgnc_tty.c @@ -375,6 +375,7 @@ int dgnc_tty_init(struct dgnc_board *brd) { struct device *classp; + classp = tty_register_device(&brd->SerialDriver, i, &(ch->ch_bd->pdev->dev)); ch->ch_tun.un_sysfs = classp; @@ -3066,6 +3067,7 @@ static int dgnc_tty_ioctl(struct tty_struct *tty, unsigned int cmd, case DIGI_REALPORT_SENDIMMEDIATE: { unsigned char c; + spin_unlock_irqrestore(&ch->ch_lock, flags); rc = get_user(c, (unsigned char __user *) arg); if (rc) |