diff options
author | Lidza Louina <lidza.louina@gmail.com> | 2013-08-21 21:48:39 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-22 10:12:43 -0700 |
commit | 038bc7ac702f4a5bee4bbc8c16c2b5f5aa91cc93 (patch) | |
tree | 75f5fe48c0a5e2a174e678510d2649431cfbee89 /drivers/staging/dgap | |
parent | acccb45473935fbe33742ee2c2f7d55dbaec4dda (diff) |
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>
Diffstat (limited to 'drivers/staging/dgap')
-rw-r--r-- | drivers/staging/dgap/dgap_tty.c | 2 |
1 files changed, 1 insertions, 1 deletions
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")); |