summaryrefslogtreecommitdiff
path: root/drivers/tty/serial/sirfsoc_uart.c
diff options
context:
space:
mode:
authorQipan Li <Qipan.Li@csr.com>2013-08-25 16:18:41 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-28 03:25:44 +0400
commitb60dfbae4151fe8c8a59724c43f5f3f66d51695f (patch)
tree0187a3edc8fa6ca950622a7b92f1b94ee9839d74 /drivers/tty/serial/sirfsoc_uart.c
parent459f15c45eee9136c3ceb7d9c1f88d5f2f225689 (diff)
downloadlinux-b60dfbae4151fe8c8a59724c43f5f3f66d51695f.tar.xz
serial: sirf: fix the amount of serial ports
SiRFprimaII has three uart ports and three USP-based ports, so there are totally six lines instead of five. Signed-off-by: Qipan Li <Qipan.Li@csr.com> Signed-off-by: Barry Song <Baohua.Song@csr.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/sirfsoc_uart.c')
-rw-r--r--drivers/tty/serial/sirfsoc_uart.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/tty/serial/sirfsoc_uart.c b/drivers/tty/serial/sirfsoc_uart.c
index aaa3ce22b5b8..61c1ad03db5b 100644
--- a/drivers/tty/serial/sirfsoc_uart.c
+++ b/drivers/tty/serial/sirfsoc_uart.c
@@ -96,6 +96,13 @@ static struct sirfsoc_uart_port sirfsoc_uart_ports[SIRFSOC_UART_NR] = {
.line = 4,
},
},
+ [5] = {
+ .port = {
+ .iotype = UPIO_MEM,
+ .flags = UPF_BOOT_AUTOCONF,
+ .line = 5,
+ },
+ },
};
static inline struct sirfsoc_uart_port *to_sirfport(struct uart_port *port)