]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
staging: dgap: fixes incompatible type error
authorLidza Louina <lidza.louina@gmail.com>
Thu, 22 Aug 2013 01:48:32 +0000 (21:48 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Aug 2013 17:12:42 +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_fep5.c

index ed3cb151d6daba778dfe1313b145bb6d65843bdc..ce87752b91724d9d151bb262622ac3d89eb41b4b 100644 (file)
@@ -1260,7 +1260,7 @@ int dgap_param(struct tty_struct *tty)
        DPR_PARAM(("param start: tdev: %x cflags: %x oflags: %x iflags: %x\n",
                ch->ch_tun.un_dev, ch->ch_c_cflag, ch->ch_c_oflag, ch->ch_c_iflag));
 
-       ts = tty->termios;
+       ts = &tty->termios;
 
        /*
         * If baud rate is zero, flush queues, and set mval to drop DTR.