From: Mahati Chamarthy Date: Mon, 29 Sep 2014 08:42:28 +0000 (+0530) Subject: Staging: dgnc: Add missing blank line X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0eaa02e66d7059cd4e08171a2cc6f8a0ec677ce1;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Greg Kroah-Hartman --- 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)