]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/serial/bfin_5xx.c
blackfin: Fix tty compile error in PIO mode
[linux-2.6-omap-h63xx.git] / drivers / serial / bfin_5xx.c
index 45c32b23d736508f440f8c0f258fdb5a47380523..d7b271656a2d5fb23421c6bf46b0d924f3bd6758 100644 (file)
@@ -174,10 +174,10 @@ static void bfin_serial_rx_chars(struct bfin_serial_port *uart)
                        return;
                }
 
-       if (!uart->port.info || !uart->port.info->tty)
+       if (!uart->port.info || !uart->port.info->port.tty)
                return;
 #endif
-       tty = uart->port.info->tty;
+       tty = uart->port.info->port.tty;
 
        if (ANOMALY_05000363) {
                /* The BF533 (and BF561) family of processors have a nice anomaly