tty: Fix regressions in the char driver conversion
[pandora-kernel.git] / drivers / char / istallion.c
index 4cd6c52..4e395c9 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);
 }