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:
Родитель
3732b68f22
Коммит
2545cf6e94
|
@ -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)
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче