diff options
author | 2011-02-14 16:27:06 +0000 | |
---|---|---|
committer | 2011-02-17 11:59:14 -0800 | |
commit | 00a0d0d65b61241a718d0aee96f46b9a2d93bf26 (patch) | |
tree | edca1d6b83d92fcce4c4c48d6308057f99c35a37 /drivers/staging/serqt_usb2 | |
parent | tiocmset: kill the file pointer argument (diff) | |
download | linux-00a0d0d65b61241a718d0aee96f46b9a2d93bf26.tar.gz linux-00a0d0d65b61241a718d0aee96f46b9a2d93bf26.tar.bz2 linux-00a0d0d65b61241a718d0aee96f46b9a2d93bf26.zip |
tty: remove filp from the USB tty ioctls
We don't use it so we can trim it from here as we try and stamp the file
object dependencies out of the serial code.
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/serqt_usb2')
-rw-r--r-- | drivers/staging/serqt_usb2/serqt_usb2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/serqt_usb2/serqt_usb2.c b/drivers/staging/serqt_usb2/serqt_usb2.c index 39776c1cf10f..e0aae86a8809 100644 --- a/drivers/staging/serqt_usb2/serqt_usb2.c +++ b/drivers/staging/serqt_usb2/serqt_usb2.c @@ -1191,7 +1191,7 @@ static int qt_write_room(struct tty_struct *tty) } -static int qt_ioctl(struct tty_struct *tty, struct file *file, +static int qt_ioctl(struct tty_struct *tty, unsigned int cmd, unsigned long arg) { struct usb_serial_port *port = tty->driver_data; |