diff options
Diffstat (limited to 'drivers/char/stallion.c')
-rw-r--r-- | drivers/char/stallion.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/char/stallion.c b/drivers/char/stallion.c index c42dbffbed16..4fff5cd3b163 100644 --- a/drivers/char/stallion.c +++ b/drivers/char/stallion.c | |||
@@ -1132,14 +1132,13 @@ static int stl_tiocmset(struct tty_struct *tty, | |||
1132 | return 0; | 1132 | return 0; |
1133 | } | 1133 | } |
1134 | 1134 | ||
1135 | static int stl_ioctl(struct tty_struct *tty, struct file *file, unsigned int cmd, unsigned long arg) | 1135 | static int stl_ioctl(struct tty_struct *tty, unsigned int cmd, unsigned long arg) |
1136 | { | 1136 | { |
1137 | struct stlport *portp; | 1137 | struct stlport *portp; |
1138 | int rc; | 1138 | int rc; |
1139 | void __user *argp = (void __user *)arg; | 1139 | void __user *argp = (void __user *)arg; |
1140 | 1140 | ||
1141 | pr_debug("stl_ioctl(tty=%p,file=%p,cmd=%x,arg=%lx)\n", tty, file, cmd, | 1141 | pr_debug("stl_ioctl(tty=%p,cmd=%x,arg=%lx)\n", tty, cmd, arg); |
1142 | arg); | ||
1143 | 1142 | ||
1144 | portp = tty->driver_data; | 1143 | portp = tty->driver_data; |
1145 | if (portp == NULL) | 1144 | if (portp == NULL) |