]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/serial/jsm/jsm_tty.c
tty: We want the port object to be persistent
[linux-2.6-omap-h63xx.git] / drivers / serial / jsm / jsm_tty.c
index a697914ae3d043e086d267338450e9ae907baa33..3547558d2caf87290d81505c0181e353029ddd6b 100644 (file)
@@ -272,7 +272,7 @@ static void jsm_tty_close(struct uart_port *port)
        jsm_printk(CLOSE, INFO, &channel->ch_bd->pci_dev, "start\n");
 
        bd = channel->ch_bd;
-       ts = channel->uart_port.info->port.tty->termios;
+       ts = port->info->port.tty->termios;
 
        channel->ch_flags &= ~(CH_STOPI);