diff options
author | Alan Cox <alan@linux.intel.com> | 2010-04-23 17:01:18 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-04-30 18:20:33 +0200 |
commit | a2d1e3516c80027b2da17fb0b7ccd36f0ac33aa7 (patch) | |
tree | 74933d064c4933f3b84a0e6943caf50f5fe9ba9e /drivers/char/riscom8.c | |
parent | Linux 2.6.34-rc6 (diff) | |
download | linux-a2d1e3516c80027b2da17fb0b7ccd36f0ac33aa7.tar.xz linux-a2d1e3516c80027b2da17fb0b7ccd36f0ac33aa7.zip |
tty: Fix regressions in the char driver conversion
This forgot to update a field in the old char drivers. The fact nobody
has basically noticed (except one mxser user) rather suggests most of these
drivers could go into the bitbucket.
Signed-off-by: Alan Cox <alan@linux.intel.com>
Cc: Jiri Slaby <jirislaby@gmail.com>
Cc: Dan Carpenter <error27@gmail.com>
Cc: Andreas Pretzsch <apr@cn-eng.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/char/riscom8.c')
-rw-r--r-- | drivers/char/riscom8.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/riscom8.c b/drivers/char/riscom8.c index 0a8d1e56c993..b02332a5412f 100644 --- a/drivers/char/riscom8.c +++ b/drivers/char/riscom8.c @@ -909,6 +909,7 @@ static int rc_open(struct tty_struct *tty, struct file *filp) if (error) return error; + tty->driver_data = port; return tty_port_open(&port->port, tty, filp); } |