summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-ds1374.c
diff options
context:
space:
mode:
authorThomas Betker <thomas.betker@rohde-schwarz.com>2015-03-11 22:39:28 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-26 22:55:18 +0100
commit136debf707d2b3cd8e74d0fff8e29d11a78bf5c2 (patch)
tree80a1812105b2cce6df6dfcfddde5007861aff5cf /drivers/rtc/rtc-ds1374.c
parent19f22efdb653642814e6c8710fca974c1dbe7cfa (diff)
downloadtalos-obmc-linux-136debf707d2b3cd8e74d0fff8e29d11a78bf5c2.tar.gz
talos-obmc-linux-136debf707d2b3cd8e74d0fff8e29d11a78bf5c2.zip
serial: xuartps: Fix check in console_setup().
cdns_uart_console_setup() checks port->mapbase != 0, but the port may not be initialized yet even if this condition is met [e.g., ioremap() may have failed]. Check port->membase != NULL instead, similar to cdns_early_console_setup(). 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>
Diffstat (limited to 'drivers/rtc/rtc-ds1374.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud