]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/serial/sn_console.c
ide: move SFF DMA code to ide-dma-sff.c
[linux-2.6-omap-h63xx.git] / drivers / serial / sn_console.c
index 019da2e05f0b4825d41ada3cf6e6badc609b8885..b73e3c0056cd77531248a89dc2925809e61faae6 100644 (file)
@@ -471,7 +471,7 @@ sn_receive_chars(struct sn_cons_port *port, unsigned long flags)
 
        if (port->sc_port.info) {
                /* The serial_core stuffs are initilized, use them */
-               tty = port->sc_port.info->tty;
+               tty = port->sc_port.info->port.tty;
        }
        else {
                /* Not registered yet - can't pass to tty layer.  */