staging: dgap: fixes incompatible type error

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>
This commit is contained in:
Lidza Louina 2013-08-21 21:48:32 -04:00 коммит произвёл Greg Kroah-Hartman
Родитель c84b8b503e
Коммит fc5a89904c
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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.