mirror of
https://github.com/torvalds/linux
synced 2024-10-15 15:59:15 +00:00
[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>
This commit is contained in:
parent
72c0fcf70a
commit
ac1a236aaa
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue