diff options
author | Alan Cox <alan@linux.intel.com> | 2011-02-14 11:26:50 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-02-17 14:52:43 -0500 |
commit | 20b9d17715017ae4dd4ec87fabc36d33b9de708e (patch) | |
tree | 64e9c4ff845844298f9056357d9f4914802207f8 /drivers/char/synclink_gt.c | |
parent | 60b33c133ca0b7c0b6072c87234b63fee6e80558 (diff) |
tiocmset: kill the file pointer argument
Doing tiocmget was such fun we should do tiocmset as well for the same
reasons
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/char/synclink_gt.c')
-rw-r--r-- | drivers/char/synclink_gt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/char/synclink_gt.c b/drivers/char/synclink_gt.c index f18ab8af0e1c..04da6d61dc4f 100644 --- a/drivers/char/synclink_gt.c +++ b/drivers/char/synclink_gt.c | |||
@@ -513,8 +513,8 @@ static int rx_enable(struct slgt_info *info, int enable); | |||
513 | static int modem_input_wait(struct slgt_info *info,int arg); | 513 | static int modem_input_wait(struct slgt_info *info,int arg); |
514 | static int wait_mgsl_event(struct slgt_info *info, int __user *mask_ptr); | 514 | static int wait_mgsl_event(struct slgt_info *info, int __user *mask_ptr); |
515 | static int tiocmget(struct tty_struct *tty); | 515 | static int tiocmget(struct tty_struct *tty); |
516 | static int tiocmset(struct tty_struct *tty, struct file *file, | 516 | static int tiocmset(struct tty_struct *tty, |
517 | unsigned int set, unsigned int clear); | 517 | unsigned int set, unsigned int clear); |
518 | static int set_break(struct tty_struct *tty, int break_state); | 518 | static int set_break(struct tty_struct *tty, int break_state); |
519 | static int get_interface(struct slgt_info *info, int __user *if_mode); | 519 | static int get_interface(struct slgt_info *info, int __user *if_mode); |
520 | static int set_interface(struct slgt_info *info, int if_mode); | 520 | static int set_interface(struct slgt_info *info, int if_mode); |
@@ -3223,7 +3223,7 @@ static int tiocmget(struct tty_struct *tty) | |||
3223 | * TIOCMSET = set/clear signal values | 3223 | * TIOCMSET = set/clear signal values |
3224 | * value bit mask for command | 3224 | * value bit mask for command |
3225 | */ | 3225 | */ |
3226 | static int tiocmset(struct tty_struct *tty, struct file *file, | 3226 | static int tiocmset(struct tty_struct *tty, |
3227 | unsigned int set, unsigned int clear) | 3227 | unsigned int set, unsigned int clear) |
3228 | { | 3228 | { |
3229 | struct slgt_info *info = tty->driver_data; | 3229 | struct slgt_info *info = tty->driver_data; |