Commit 038bc7ac authored by Lidza Louina's avatar Lidza Louina Committed by Greg Kroah-Hartman

staging: dgap: tty.c: fixes incompatible type error

This patch fixes the error: incompatible types when
assigning to type ‘struct ktermios *’ from type
‘struct ktermios’
Signed-off-by: default avatarLidza Louina <lidza.louina@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent acccb454
......@@ -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"));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment