summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/bfin_uart.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-08-08 17:40:55 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-12 11:35:32 -0700
commitfbf3ab279127bba325ac93dc1315d221cfd04115 (patch)
treee7061a0ba14f31ac1ec02f359d4a5de153882406 /drivers/tty/serial/bfin_uart.c
parent4f749f248266209f066a875937bf51d1d5f4aed5 (diff)
serial: tegra: use NULL instead of 0
'cons' is a pointer; thus NULL should be used instead of 0. Also, local symbols are staticized. Fix the following sparse warnings: drivers/tty/serial/serial-tegra.c:1209:27: warning: Using plain integer as NULL pointer drivers/tty/serial/serial-tegra.c:1240:29: warning: symbol 'tegra20_uart_chip_data' was not declared. Should it be static? drivers/tty/serial/serial-tegra.c:1246:29: warning: symbol 'tegra30_uart_chip_data' was not declared. Should it be static? Signed-off-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/bfin_uart.c')
0 files changed, 0 insertions, 0 deletions