OSDN Git Service

serial: mvebu-uart: augment the maximum number of ports
authorMiquel Raynal <miquel.raynal@free-electrons.com>
Fri, 13 Oct 2017 09:01:55 +0000 (11:01 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Oct 2017 12:20:07 +0000 (14:20 +0200)
A3700 boards may have up to two UART ports. Set the new limit to two
maximum UART ports.

Signed-off-by: Miquel Raynal <miquel.raynal@free-electrons.com>
Reviewed-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/mvebu-uart.c

index d0e749f..1074054 100644 (file)
@@ -74,7 +74,7 @@
 #define UART_BRDV              0x10
 #define  BRDV_BAUD_MASK         0x3FF
 
-#define MVEBU_NR_UARTS         1
+#define MVEBU_NR_UARTS         2
 
 #define MVEBU_UART_TYPE                "mvebu-uart"
 #define DRIVER_NAME            "mvebu_serial"