Commit 432f9748 authored by Alexandre Belloni's avatar Alexandre Belloni Committed by Greg Kroah-Hartman

tty/serial: atmel: increase ATMEL_MAX_UART

The samx7 family uses the same UART/USART IP as the at91/sama5 families but
has 8 of those.
Suggested-by: default avatarSzemző András <sza@esh.hu>
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: default avatarRichard Genoud <richard.genoud@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3c910176
...@@ -119,8 +119,9 @@ struct atmel_uart_char { ...@@ -119,8 +119,9 @@ struct atmel_uart_char {
/* /*
* at91: 6 USARTs and one DBGU port (SAM9260) * at91: 6 USARTs and one DBGU port (SAM9260)
* avr32: 4 * avr32: 4
* samx7: 3 USARTs and 5 UARTs
*/ */
#define ATMEL_MAX_UART 7 #define ATMEL_MAX_UART 8
/* /*
* We wrap our port structure around the generic uart_port. * We wrap our port structure around the generic uart_port.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment