提交 fc5a8990 编写于 作者: L Lidza Louina 提交者: Greg Kroah-Hartman

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: NLidza Louina <lidza.louina@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 c84b8b50
......@@ -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.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册