Skip to content

Commit 7c92a8b

Browse files
Jean-Michel Hautboisgregkh
authored andcommitted
tty: mcf: MCF54418 has 10 UARTS
Most of the colfires have up to 5 UARTs but MCF54418 has up-to 10 ! Change the maximum value authorized. Signed-off-by: Jean-Michel Hautbois <[email protected]> Cc: stable <[email protected]> Fixes: 2545cf6 ("m68knommu: allow 4 coldfire serial ports") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 9d141c1 commit 7c92a8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/tty/serial/mcf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ static const struct uart_ops mcf_uart_ops = {
462462
.verify_port = mcf_verify_port,
463463
};
464464

465-
static struct mcf_uart mcf_ports[4];
465+
static struct mcf_uart mcf_ports[10];
466466

467467
#define MCF_MAXPORTS ARRAY_SIZE(mcf_ports)
468468

0 commit comments

Comments
 (0)