Skip to content

Commit

Permalink
tty: mcf: MCF54418 has 10 UARTS
Browse files Browse the repository at this point in the history
commit 7c92a8b upstream.

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 <jeanmichel.hautbois@yoseli.org>
Cc: stable <stable@kernel.org>
Fixes: 2545cf6 ("m68knommu: allow 4 coldfire serial ports")
Link: https://lore.kernel.org/r/20240620-upstream-uart-v1-1-a9d0d95fb19e@yoseli.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Jean-Michel Hautbois authored and gregkh committed Jul 5, 2024
1 parent cb87930 commit 44add57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/tty/serial/mcf.c
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ static const struct uart_ops mcf_uart_ops = {
.verify_port = mcf_verify_port,
};

static struct mcf_uart mcf_ports[4];
static struct mcf_uart mcf_ports[10];

#define MCF_MAXPORTS ARRAY_SIZE(mcf_ports)

Expand Down

0 comments on commit 44add57

Please sign in to comment.