]> err.no Git - linux-2.6/commitdiff
[MIPS] Cobalt: Enable UART on RaQ1
authorMartin Michlmayr <tbm@cyrius.com>
Sun, 29 Jul 2007 20:19:02 +0000 (22:19 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 31 Jul 2007 20:35:34 +0000 (21:35 +0100)
Unlike the current code suggests, the RaQ1 actually has an UART.  Only
the Qube1 (Qube 2700) lacks one.

Signed-off-by: Martin Michlmayr <tbm@cyrius.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/cobalt/serial.c

index c27116599a5f3616225ece8188837aa3f10f3150..08e739704cc90079fd666926fee24e8cc8cd5bab 100644 (file)
@@ -55,9 +55,9 @@ static __init int cobalt_uart_add(void)
        int retval;
 
        /*
-        * Cobalt Qube1 and RAQ1 have no UART.
+        * Cobalt Qube1 has no UART.
         */
-       if (cobalt_board_id <= COBALT_BRD_ID_RAQ1)
+       if (cobalt_board_id == COBALT_BRD_ID_QUBE1)
                return 0;
 
        pdev = platform_device_alloc("serial8250", -1);