mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-15 17:56:46 +07:00
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: Lidza Louina <lidza.louina@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
acccb45473
commit
038bc7ac70
@ -1421,7 +1421,7 @@ static void dgap_tty_close(struct tty_struct *tty, struct file *file)
|
|||||||
if (!bd || bd->magic != DGAP_BOARD_MAGIC)
|
if (!bd || bd->magic != DGAP_BOARD_MAGIC)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
ts = tty->termios;
|
ts = &tty->termios;
|
||||||
|
|
||||||
DPR_CLOSE(("Close called\n"));
|
DPR_CLOSE(("Close called\n"));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user