]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/serial/atmel_serial.c
[ARM] 3947/1: AT91: cpu_is_XXX macro's
[linux-2.6-omap-h63xx.git] / drivers / serial / atmel_serial.c
index 391a1f4167a4f38819997c5a80cb12607e788fa6..877876e866e5e92c06a41e30b394a0c121ff3764 100644 (file)
@@ -138,7 +138,7 @@ static void atmel_set_mctrl(struct uart_port *port, u_int mctrl)
        unsigned int mode;
 
 #ifdef CONFIG_ARM
-       if (arch_identify() == ARCH_ID_AT91RM9200) {
+       if (cpu_is_at91rm9200()) {
                /*
                 * AT91RM9200 Errata #39: RTS0 is not internally connected to PA21.
                 *  We need to drive the pin manually.