usb: fix null deferences in low level usb serial
authorJason Wessel <jason.wessel@windriver.com>
Mon, 8 Sep 2008 13:53:37 +0000 (14:53 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 8 Sep 2008 22:37:07 +0000 (15:37 -0700)
commit06dd881f59b3c07a430cdcbef2197f9b6dc79ae8
treebcbfa4c239d70d3f60f31cb86538fae8c796eaff
parentaf904deaf6da3f3285eb0a06a3dc6a1af0251030
usb: fix null deferences in low level usb serial

The hw interface drivers for the usb serial devices deference the tty
structure to set up the parameters for the initial console.  The tty
structure should be passed as a parameter to the set_termios() call.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/usb/serial/console.c