]> git.karo-electronics.de Git - linux-beck.git/blobdiff - drivers/char/istallion.c
tty: Fix regressions in the char driver conversion
[linux-beck.git] / drivers / char / istallion.c
index 4cd6c527ee4141929c2257e9798a7c51cab45a6b..4e395c956a09f1c4c1a8f472b1caad9401fb4585 100644 (file)
@@ -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);
 }