]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/serial/at91_serial.c
[ARM] 3865/1: AT91RM9200 header updates
[linux-2.6-omap-h63xx.git] / drivers / serial / at91_serial.c
index 54c6b2adf7b73c57a2023768a8e11b6cc545bd9e..bf4bf103e5a0aff82476cc45a399d6b1b1f35aff 100644 (file)
@@ -139,7 +139,7 @@ static void at91_set_mctrl(struct uart_port *port, u_int mctrl)
                 * AT91RM9200 Errata #39: RTS0 is not internally connected to PA21.
                 *  We need to drive the pin manually.
                 */
-               if (port->mapbase == AT91_BASE_US0) {
+               if (port->mapbase == AT91RM9200_BASE_US0) {
                        if (mctrl & TIOCM_RTS)
                                at91_set_gpio_value(AT91_PIN_PA21, 0);
                        else