]> git.karo-electronics.de Git - linux-beck.git/commit
serial: xuartps: Fix cdns_uart_port[] definition.
authorThomas Betker <thomas.betker@rohde-schwarz.com>
Wed, 11 Mar 2015 21:39:26 +0000 (22:39 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Mar 2015 21:52:29 +0000 (22:52 +0100)
commit6db6df0e4a1b913810fc9063bbb332476ce316b7
treea1a2cf2d78bc7386f0a402177349b38c30276067
parent9646e4fee42d080ad484eef005691a17ed9cb8e7
serial: xuartps: Fix cdns_uart_port[] definition.

The code assumes that the array cdns_uart_port[] has dimension
CDNS_UART_NR_PORTS, so let us define it this way.

Signed-off-by: Thomas Betker <thomas.betker@rohde-schwarz.com>
Reviewed-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/xilinx_uartps.c