tiocmget: kill off the passing of the struct file
[firefly-linux-kernel-4.4.55.git] / include / linux / usb / serial.h
index c9049139a7a5a42f3a8f4d82d727355aeca9bce1..30b945397d193362499bf3cfa9870c9ee33104bd 100644 (file)
@@ -268,7 +268,7 @@ struct usb_serial_driver {
        int  (*chars_in_buffer)(struct tty_struct *tty);
        void (*throttle)(struct tty_struct *tty);
        void (*unthrottle)(struct tty_struct *tty);
-       int  (*tiocmget)(struct tty_struct *tty, struct file *file);
+       int  (*tiocmget)(struct tty_struct *tty);
        int  (*tiocmset)(struct tty_struct *tty, struct file *file,
                         unsigned int set, unsigned int clear);
        int  (*get_icount)(struct tty_struct *tty,