Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fc5a8990 authored by Lidza Louina's avatar Lidza Louina Committed by Greg Kroah-Hartman
Browse files

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: default avatarLidza Louina <lidza.louina@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c84b8b50
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1260,7 +1260,7 @@ int dgap_param(struct tty_struct *tty)
	DPR_PARAM(("param start: tdev: %x cflags: %x oflags: %x iflags: %x\n",
	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));
		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.
	 * If baud rate is zero, flush queues, and set mval to drop DTR.