diff options
author | Gerald Baeza <gerald.baeza@st.com> | 2017-07-13 17:08:27 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-07-30 16:32:25 +0200 |
commit | cc7aefd4fa6c0e12301a923b629f49bfbaaac6b1 (patch) | |
tree | d10ca3a64aa4eec936475aeeb892baab24182f0c | |
parent | serial: stm32: fix multi-ports management (diff) | |
download | linux-cc7aefd4fa6c0e12301a923b629f49bfbaaac6b1.tar.xz linux-cc7aefd4fa6c0e12301a923b629f49bfbaaac6b1.zip |
serial: stm32: Increase maximum number of ports
Increase max number of ports for stm32h7
which supports up to 8 uart and usart instances.
Signed-off-by: Gerald Baeza <gerald.baeza@st.com>
Signed-off-by: Bich Hemon <bich.hemon@st.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/tty/serial/stm32-usart.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/stm32-usart.h b/drivers/tty/serial/stm32-usart.h index 65b4ffa698a9..6092789a4b3b 100644 --- a/drivers/tty/serial/stm32-usart.h +++ b/drivers/tty/serial/stm32-usart.h @@ -206,7 +206,7 @@ struct stm32_usart_info stm32f7_info = { #define USART_ICR_CMCF BIT(17) /* F7 */ #define STM32_SERIAL_NAME "ttyS" -#define STM32_MAX_PORTS 6 +#define STM32_MAX_PORTS 8 #define RX_BUF_L 200 /* dma rx buffer length */ #define RX_BUF_P RX_BUF_L /* dma rx buffer period */ |