USB: pl2303: initial TIOCGSERIAL support
authorJohn Tsiombikas <nuclear@member.fsf.org>
Thu, 25 Feb 2010 15:09:08 +0000 (17:09 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 2 Mar 2010 22:55:17 +0000 (14:55 -0800)
commit67b9946dd07eeef8188e4cab816d2c370bcaa7b2
tree880b1a0bb8b04be2ce6be18152c02dcb992fd7a9
parentac7d4ca9e0b27d7705d273f17afd29828db35ee6
USB: pl2303: initial TIOCGSERIAL support

I've got a trivial patch for the pl2303 driver, that's what I needed to
make the wacom serial tablet driver work properly. It uses the
TIOCGSERIAL ioctl to determine if it's talking to a serial device or
not, which I gather is rather common, but the pl2303 driver didn't
implement that ioctl.

Here's a patch, I'm not sure it's absolutely correct, I mostly looked at
other similar usbserial drivers to see what I must do, but it works for
me.

Signed-off-by: John Tsiombikas <nuclear@member.fsf.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/pl2303.c