sdio_uart: Fix oops caused by the previous changeset
[safe/jmp/linux-2.6] / drivers / mmc / card / sdio_uart.c
index c2759db..671fe5e 100644 (file)
@@ -608,7 +608,7 @@ static int sdio_uart_startup(struct sdio_uart_port *port)
                if (!(sdio_uart_get_mctrl(port) & TIOCM_CTS))
                        tty->hw_stopped = 1;
 
-       clear_bit(TTY_IO_ERROR, &port->tty->flags);
+       clear_bit(TTY_IO_ERROR, &tty->flags);
 
        /* Kick the IRQ handler once while we're still holding the host lock */
        sdio_uart_irq(port->func);