Re: [PATCH] tty: mcf: MCF54418 has 10 UARTS

From: Greg Kroah-Hartman
Date: Thu Jun 20 2024 - 12:58:30 EST


On Thu, Jun 20, 2024 at 06:29:59PM +0200, Jean-Michel Hautbois wrote:
> 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@xxxxxxxxxx>
> ---
> drivers/tty/serial/mcf.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/tty/serial/mcf.c b/drivers/tty/serial/mcf.c
> index b0604d6da025..58858dd352c5 100644
> --- a/drivers/tty/serial/mcf.c
> +++ b/drivers/tty/serial/mcf.c
> @@ -462,7 +462,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];

What commit id does this fix?

thanks,

greg k-h