diff options
author | Alan Cox <alan@linux.intel.com> | 2010-09-16 13:21:40 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-10-22 13:20:04 -0400 |
commit | 0bca1b913affbd7e2fdaffee62a499659a466eb5 (patch) | |
tree | a7e1c20146790345c0cdcadb31b4ff908d1632c2 /drivers/usb/serial/ftdi_sio.c | |
parent | d281da7ff6f70efca0553c288bb883e8605b3862 (diff) |
tty: Convert the USB drivers to the new icount interface
Simple pasting job using the new ops function. Also fix a couple of devices
directly returning the internal struct (which happens at this point to match
for the fields that matter but isn't correct or futureproof)
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/serial/ftdi_sio.c')
-rw-r--r-- | drivers/usb/serial/ftdi_sio.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c index 97cc87d654ce..891c20e3bb38 100644 --- a/drivers/usb/serial/ftdi_sio.c +++ b/drivers/usb/serial/ftdi_sio.c | |||
@@ -2168,6 +2168,7 @@ static int ftdi_ioctl(struct tty_struct *tty, struct file *file, | |||
2168 | * - mask passed in arg for lines of interest | 2168 | * - mask passed in arg for lines of interest |
2169 | * (use |'ed TIOCM_RNG/DSR/CD/CTS for masking) | 2169 | * (use |'ed TIOCM_RNG/DSR/CD/CTS for masking) |
2170 | * Caller should use TIOCGICOUNT to see which one it was. | 2170 | * Caller should use TIOCGICOUNT to see which one it was. |
2171 | * (except that the driver doesn't support it !) | ||
2171 | * | 2172 | * |
2172 | * This code is borrowed from linux/drivers/char/serial.c | 2173 | * This code is borrowed from linux/drivers/char/serial.c |
2173 | */ | 2174 | */ |