aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/cobalt/serial.c
diff options
context:
space:
mode:
authorMartin Michlmayr <tbm@cyrius.com>2007-07-29 16:19:02 -0400
committerRalf Baechle <ralf@linux-mips.org>2007-07-31 16:35:34 -0400
commitac1a236aaaaaa24552bf16a8ba6dc5f88129fbd0 (patch)
tree8c1727fc6c21e439d0958c2f6642bc9ec210dea1 /arch/mips/cobalt/serial.c
parent72c0fcf70a0c15a6280b3cf2ad11c6fdaf0bd888 (diff)
[MIPS] Cobalt: Enable UART on RaQ1
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>
Diffstat (limited to 'arch/mips/cobalt/serial.c')
-rw-r--r--arch/mips/cobalt/serial.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/cobalt/serial.c b/arch/mips/cobalt/serial.c
index c27116599a5f..08e739704cc9 100644
--- a/arch/mips/cobalt/serial.c
+++ b/arch/mips/cobalt/serial.c
@@ -55,9 +55,9 @@ static __init int cobalt_uart_add(void)
55 int retval; 55 int retval;
56 56
57 /* 57 /*
58 * Cobalt Qube1 and RAQ1 have no UART. 58 * Cobalt Qube1 has no UART.
59 */ 59 */
60 if (cobalt_board_id <= COBALT_BRD_ID_RAQ1) 60 if (cobalt_board_id == COBALT_BRD_ID_QUBE1)
61 return 0; 61 return 0;
62 62
63 pdev = platform_device_alloc("serial8250", -1); 63 pdev = platform_device_alloc("serial8250", -1);