Add device function for USB serial console
authorKevin Hao <kexin.hao@windriver.com>
Fri, 2 Jan 2009 13:44:34 +0000 (13:44 +0000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 2 Jan 2009 18:19:38 +0000 (10:19 -0800)
commit39efd191d01b5f1efc3d604baf74233dc525e6a8
tree9623a3daa6e136429319008f278e109f016a1ee3
parent975a1a7d887048d4afc9201383e11b7af991866b
Add device function for USB serial console

Add device funtion for usb serial console, so we can open /dev/console
when we use a usb serial device as console.

(Typecast removed as noted by Sergei Shtylyov)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/usb/serial/console.c