m68knommu: allow 4 coldfire serial ports
authorPhilippe De Muyter <phdm@macqel.be>
Thu, 18 Mar 2010 10:37:13 +0000 (11:37 +0100)
committerGreg Ungerer <gerg@uclinux.org>
Wed, 21 Apr 2010 04:56:00 +0000 (14:56 +1000)
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>
drivers/serial/mcf.c

index b9f7dfe..b5aaef9 100644 (file)
@@ -445,7 +445,7 @@ static const struct uart_ops mcf_uart_ops = {
        .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)