aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilippe De Muyter <phdm@macqel.be>2010-03-18 06:37:13 -0400
committerGreg Ungerer <gerg@uclinux.org>2010-04-21 00:56:00 -0400
commit2545cf6e94b4eb5a2c48dd55751aa9a70ff1ff9d (patch)
tree8996778639a9b16ac2689c19e8fb0fdee18376cf
parent3732b68f22857201fa09cb82b128f295096a2375 (diff)
m68knommu: allow 4 coldfire serial ports
Fix driver/serial/mcf.c for 4-ports coldfire's (e.g. MCF5484). Signed-off-by: Philippe De Muyter <phdm@macqel.be> Signed-off-by: Greg Ungerer <gerg@uclinux.org>
-rw-r--r--drivers/serial/mcf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/mcf.c b/drivers/serial/mcf.c
index b9f7dfe6c5d5..b5aaef965f24 100644
--- a/drivers/serial/mcf.c
+++ b/drivers/serial/mcf.c
@@ -445,7 +445,7 @@ static const struct uart_ops mcf_uart_ops = {
445 .verify_port = mcf_verify_port, 445 .verify_port = mcf_verify_port,
446}; 446};
447 447
448static struct mcf_uart mcf_ports[3]; 448static struct mcf_uart mcf_ports[4];
449 449
450#define MCF_MAXPORTS ARRAY_SIZE(mcf_ports) 450#define MCF_MAXPORTS ARRAY_SIZE(mcf_ports)
451 451