]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
staging: dgap: tty.c: fixes incompatible type error
authorLidza Louina <lidza.louina@gmail.com>
Thu, 22 Aug 2013 01:48:39 +0000 (21:48 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Aug 2013 17:12:43 +0000 (10:12 -0700)
This patch fixes the error: incompatible types when
assigning to type ‘struct ktermios *’ from type
‘struct ktermios’

Signed-off-by: Lidza Louina <lidza.louina@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgap/dgap_tty.c

index 0ca141691d2cdee7b0a5889c11cef8a71803d6cf..b906db30b617678a648f6a910800a98a7c95c6be 100644 (file)
@@ -1421,7 +1421,7 @@ static void dgap_tty_close(struct tty_struct *tty, struct file *file)
        if (!bd || bd->magic != DGAP_BOARD_MAGIC)
                return;
 
-       ts = tty->termios;
+       ts = &tty->termios;
 
        DPR_CLOSE(("Close called\n"));