git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tty: Fix regressions in the char driver conversion
[pandora-kernel.git]
/
drivers
/
char
/
istallion.c
diff --git
a/drivers/char/istallion.c
b/drivers/char/istallion.c
index
4cd6c52
..
4e395c9
100644
(file)
--- a/
drivers/char/istallion.c
+++ b/
drivers/char/istallion.c
@@
-827,6
+827,8
@@
static int stli_open(struct tty_struct *tty, struct file *filp)
return -ENODEV;
if (portp->devnr < 1)
return -ENODEV;
+
+ tty->driver_data = portp;
return tty_port_open(&portp->port, tty, filp);
}