serial: sirf: assign console default index if users not set a valid one
authorQipan Li <Qipan.Li@csr.com>
Thu, 14 May 2015 06:45:26 +0000 (06:45 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 24 May 2015 19:50:41 +0000 (12:50 -0700)
commitc35b49b7166b8054ce33827d5dfd8d6041f5b4df
treeb655af15f9db894aeb6d4542bce10960277534f4
parent7f60f2fe16206d5db6a228dfe1de5ea0a9e5da46
serial: sirf: assign console default index if users not set a valid one

it seems this is a more typical behaviour from reviewing other console
drivers.

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>
drivers/tty/serial/sirfsoc_uart.c