]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/char/synclink.c
tiocmget: kill off the passing of the struct file
[karo-tx-linux.git] / drivers / char / synclink.c
index 3a6824f12be2f8dc6c17e0862e49b74de786ebfd..d359e092904adc37986f0e3686362b4a4bfb3fff 100644 (file)
@@ -823,7 +823,7 @@ static isr_dispatch_func UscIsrTable[7] =
 /*
  * ioctl call handlers
  */
-static int tiocmget(struct tty_struct *tty, struct file *file);
+static int tiocmget(struct tty_struct *tty);
 static int tiocmset(struct tty_struct *tty, struct file *file,
                    unsigned int set, unsigned int clear);
 static int mgsl_get_stats(struct mgsl_struct * info, struct mgsl_icount
@@ -2846,7 +2846,7 @@ static int modem_input_wait(struct mgsl_struct *info,int arg)
 
 /* return the state of the serial control and status signals
  */
-static int tiocmget(struct tty_struct *tty, struct file *file)
+static int tiocmget(struct tty_struct *tty)
 {
        struct mgsl_struct *info = tty->driver_data;
        unsigned int result;