summaryrefslogtreecommitdiff
path: root/drivers/tty/serial/atmel_serial.c
diff options
context:
space:
mode:
authorYuriy Kozlov <ykozlov@ptcusa.com>2012-03-29 07:55:27 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-04-09 17:30:39 (GMT)
commitacede70d6561f2d042d9dbb153d9a3469479c0ed (patch)
tree6a458b7572de459a0c2ab9c82fc93b2ae351820f /drivers/tty/serial/atmel_serial.c
parentef37ea34cac19ef46173b26ee47a102f3b987d1e (diff)
downloadlinux-acede70d6561f2d042d9dbb153d9a3469479c0ed.tar.xz
tty: serial: altera_uart: Check for NULL platform_data in probe.
Follow altera_jtag_uart. This fixes a crash if there is a mistake in the DTS. Signed-off-by: Yuriy Kozlov <ykozlov@ptcusa.com> Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Cc: stable <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/atmel_serial.c')
0 files changed, 0 insertions, 0 deletions