|
@@ -106,7 +106,7 @@ static void mct_u232_break_ctl(struct tty_struct *tty, int break_state);
|
|
|
static int mct_u232_tiocmget(struct tty_struct *tty);
|
|
|
static int mct_u232_tiocmset(struct tty_struct *tty,
|
|
|
unsigned int set, unsigned int clear);
|
|
|
-static int mct_u232_ioctl(struct tty_struct *tty, struct file *file,
|
|
|
+static int mct_u232_ioctl(struct tty_struct *tty,
|
|
|
unsigned int cmd, unsigned long arg);
|
|
|
static int mct_u232_get_icount(struct tty_struct *tty,
|
|
|
struct serial_icounter_struct *icount);
|
|
@@ -874,7 +874,7 @@ static void mct_u232_unthrottle(struct tty_struct *tty)
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-static int mct_u232_ioctl(struct tty_struct *tty, struct file *file,
|
|
|
+static int mct_u232_ioctl(struct tty_struct *tty,
|
|
|
unsigned int cmd, unsigned long arg)
|
|
|
{
|
|
|
DEFINE_WAIT(wait);
|