]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/usb/serial/ti_usb_3410_5052.c
tty: remove filp from the USB tty ioctls
[mv-sheeva.git] / drivers / usb / serial / ti_usb_3410_5052.c
index c7fea4a2a1be74739caaeac8ff51bfad25292585..f4a57ad27db862819990a6542ac8f73052ee05d1 100644 (file)
@@ -106,7 +106,7 @@ static int ti_write_room(struct tty_struct *tty);
 static int ti_chars_in_buffer(struct tty_struct *tty);
 static void ti_throttle(struct tty_struct *tty);
 static void ti_unthrottle(struct tty_struct *tty);
-static int ti_ioctl(struct tty_struct *tty, struct file *file,
+static int ti_ioctl(struct tty_struct *tty,
                unsigned int cmd, unsigned long arg);
 static int ti_get_icount(struct tty_struct *tty,
                struct serial_icounter_struct *icount);
@@ -818,7 +818,7 @@ static int ti_get_icount(struct tty_struct *tty,
        return 0;
 }
 
-static int ti_ioctl(struct tty_struct *tty, struct file *file,
+static int ti_ioctl(struct tty_struct *tty,
        unsigned int cmd, unsigned long arg)
 {
        struct usb_serial_port *port = tty->driver_data;