diff options
Diffstat (limited to 'drivers/tty/serial/crisv10.c')
-rw-r--r-- | drivers/tty/serial/crisv10.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/tty/serial/crisv10.c b/drivers/tty/serial/crisv10.c index bcc31f2140a..225123b37f1 100644 --- a/drivers/tty/serial/crisv10.c +++ b/drivers/tty/serial/crisv10.c | |||
@@ -3581,8 +3581,7 @@ rs_break(struct tty_struct *tty, int break_state) | |||
3581 | } | 3581 | } |
3582 | 3582 | ||
3583 | static int | 3583 | static int |
3584 | rs_tiocmset(struct tty_struct *tty, struct file *file, | 3584 | rs_tiocmset(struct tty_struct *tty, unsigned int set, unsigned int clear) |
3585 | unsigned int set, unsigned int clear) | ||
3586 | { | 3585 | { |
3587 | struct e100_serial *info = (struct e100_serial *)tty->driver_data; | 3586 | struct e100_serial *info = (struct e100_serial *)tty->driver_data; |
3588 | unsigned long flags; | 3587 | unsigned long flags; |
@@ -3614,7 +3613,7 @@ rs_tiocmset(struct tty_struct *tty, struct file *file, | |||
3614 | } | 3613 | } |
3615 | 3614 | ||
3616 | static int | 3615 | static int |
3617 | rs_tiocmget(struct tty_struct *tty, struct file *file) | 3616 | rs_tiocmget(struct tty_struct *tty) |
3618 | { | 3617 | { |
3619 | struct e100_serial *info = (struct e100_serial *)tty->driver_data; | 3618 | struct e100_serial *info = (struct e100_serial *)tty->driver_data; |
3620 | unsigned int result; | 3619 | unsigned int result; |
@@ -3648,7 +3647,7 @@ rs_tiocmget(struct tty_struct *tty, struct file *file) | |||
3648 | 3647 | ||
3649 | 3648 | ||
3650 | static int | 3649 | static int |
3651 | rs_ioctl(struct tty_struct *tty, struct file * file, | 3650 | rs_ioctl(struct tty_struct *tty, |
3652 | unsigned int cmd, unsigned long arg) | 3651 | unsigned int cmd, unsigned long arg) |
3653 | { | 3652 | { |
3654 | struct e100_serial * info = (struct e100_serial *)tty->driver_data; | 3653 | struct e100_serial * info = (struct e100_serial *)tty->driver_data; |