projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
acccb45
)
staging: dgap: tty.c: fixes incompatible type error
author
Lidza Louina
<lidza.louina@gmail.com>
Thu, 22 Aug 2013 01:48:39 +0000
(21:48 -0400)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Thu, 22 Aug 2013 17:12:43 +0000
(10:12 -0700)
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>
drivers/staging/dgap/dgap_tty.c
patch
|
blob
|
history
diff --git
a/drivers/staging/dgap/dgap_tty.c
b/drivers/staging/dgap/dgap_tty.c
index 0ca141691d2cdee7b0a5889c11cef8a71803d6cf..b906db30b617678a648f6a910800a98a7c95c6be 100644
(file)
--- 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"));