commit | acede70d6561f2d042d9dbb153d9a3469479c0ed | [log] [tgz] |
---|---|---|
author | Yuriy Kozlov <ykozlov@ptcusa.com> | Thu Mar 29 09:55:27 2012 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Apr 09 10:30:39 2012 -0700 |
tree | 6a458b7572de459a0c2ab9c82fc93b2ae351820f | |
parent | ef37ea34cac19ef46173b26ee47a102f3b987d1e [diff] |
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>