From: Mahati Chamarthy Date: Mon, 29 Sep 2014 08:42:28 +0000 (+0530) Subject: Staging: dgnc: Add missing blank line X-Git-Tag: v5.15~17125^2~99 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0eaa02e66d7059cd4e08171a2cc6f8a0ec677ce1;p=platform%2Fkernel%2Flinux-starfive.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 4a56e97..07fba1e 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)