diff options
Diffstat (limited to 'drivers/char/synclinkmp.c')
-rw-r--r-- | drivers/char/synclinkmp.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/char/synclinkmp.c b/drivers/char/synclinkmp.c index 1f9de97e8cfc..327343694473 100644 --- a/drivers/char/synclinkmp.c +++ b/drivers/char/synclinkmp.c | |||
@@ -520,7 +520,7 @@ static void flush_buffer(struct tty_struct *tty); | |||
520 | static void tx_hold(struct tty_struct *tty); | 520 | static void tx_hold(struct tty_struct *tty); |
521 | static void tx_release(struct tty_struct *tty); | 521 | static void tx_release(struct tty_struct *tty); |
522 | 522 | ||
523 | static int ioctl(struct tty_struct *tty, struct file *file, unsigned int cmd, unsigned long arg); | 523 | static int ioctl(struct tty_struct *tty, unsigned int cmd, unsigned long arg); |
524 | static int chars_in_buffer(struct tty_struct *tty); | 524 | static int chars_in_buffer(struct tty_struct *tty); |
525 | static void throttle(struct tty_struct * tty); | 525 | static void throttle(struct tty_struct * tty); |
526 | static void unthrottle(struct tty_struct * tty); | 526 | static void unthrottle(struct tty_struct * tty); |
@@ -1248,13 +1248,12 @@ static void tx_release(struct tty_struct *tty) | |||
1248 | * Arguments: | 1248 | * Arguments: |
1249 | * | 1249 | * |
1250 | * tty pointer to tty instance data | 1250 | * tty pointer to tty instance data |
1251 | * file pointer to associated file object for device | ||
1252 | * cmd IOCTL command code | 1251 | * cmd IOCTL command code |
1253 | * arg command argument/context | 1252 | * arg command argument/context |
1254 | * | 1253 | * |
1255 | * Return Value: 0 if success, otherwise error code | 1254 | * Return Value: 0 if success, otherwise error code |
1256 | */ | 1255 | */ |
1257 | static int ioctl(struct tty_struct *tty, struct file *file, | 1256 | static int ioctl(struct tty_struct *tty, |
1258 | unsigned int cmd, unsigned long arg) | 1257 | unsigned int cmd, unsigned long arg) |
1259 | { | 1258 | { |
1260 | SLMP_INFO *info = tty->driver_data; | 1259 | SLMP_INFO *info = tty->driver_data; |