Commit 2545cf6e authored by Philippe De Muyter's avatar Philippe De Muyter Committed by Greg Ungerer

m68knommu: allow 4 coldfire serial ports

Fix driver/serial/mcf.c for 4-ports coldfire's (e.g. MCF5484).
Signed-off-by: default avatarPhilippe De Muyter <phdm@macqel.be>
Signed-off-by: default avatarGreg Ungerer <gerg@uclinux.org>
parent 3732b68f
...@@ -445,7 +445,7 @@ static const struct uart_ops mcf_uart_ops = { ...@@ -445,7 +445,7 @@ static const struct uart_ops mcf_uart_ops = {
.verify_port = mcf_verify_port, .verify_port = mcf_verify_port,
}; };
static struct mcf_uart mcf_ports[3]; static struct mcf_uart mcf_ports[4];
#define MCF_MAXPORTS ARRAY_SIZE(mcf_ports) #define MCF_MAXPORTS ARRAY_SIZE(mcf_ports)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment