From: Lidza Louina Date: Thu, 22 Aug 2013 01:48:39 +0000 (-0400) Subject: staging: dgap: tty.c: fixes incompatible type error X-Git-Tag: firefly_0821_release~176^2~5471^2~175 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=038bc7ac702f4a5bee4bbc8c16c2b5f5aa91cc93;p=firefly-linux-kernel-4.4.55.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/dgap/dgap_tty.c b/drivers/staging/dgap/dgap_tty.c index 0ca141691d2c..b906db30b617 100644 --- a/drivers/staging/dgap/dgap_tty.c +++ b/drivers/staging/dgap/dgap_tty.c @@ -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"));