forked from luck/tmp_suning_uos_patched
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>
This commit is contained in:
parent
3732b68f22
commit
2545cf6e94
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user