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/synclinkmp.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/synclinkmp.c')
-rw-r--r-- | drivers/char/synclinkmp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/char/synclinkmp.c b/drivers/char/synclinkmp.c index 5900213ae75b..1f9de97e8cfc 100644 --- a/drivers/char/synclinkmp.c +++ b/drivers/char/synclinkmp.c | |||
@@ -547,8 +547,8 @@ static int rx_enable(SLMP_INFO *info, int enable); | |||
547 | static int modem_input_wait(SLMP_INFO *info,int arg); | 547 | static int modem_input_wait(SLMP_INFO *info,int arg); |
548 | static int wait_mgsl_event(SLMP_INFO *info, int __user *mask_ptr); | 548 | static int wait_mgsl_event(SLMP_INFO *info, int __user *mask_ptr); |
549 | static int tiocmget(struct tty_struct *tty); | 549 | static int tiocmget(struct tty_struct *tty); |
550 | static int tiocmset(struct tty_struct *tty, struct file *file, | 550 | static int tiocmset(struct tty_struct *tty, |
551 | unsigned int set, unsigned int clear); | 551 | unsigned int set, unsigned int clear); |
552 | static int set_break(struct tty_struct *tty, int break_state); | 552 | static int set_break(struct tty_struct *tty, int break_state); |
553 | 553 | ||
554 | static void add_device(SLMP_INFO *info); | 554 | static void add_device(SLMP_INFO *info); |
@@ -3232,8 +3232,8 @@ static int tiocmget(struct tty_struct *tty) | |||
3232 | 3232 | ||
3233 | /* set modem control signals (DTR/RTS) | 3233 | /* set modem control signals (DTR/RTS) |
3234 | */ | 3234 | */ |
3235 | static int tiocmset(struct tty_struct *tty, struct file *file, | 3235 | static int tiocmset(struct tty_struct *tty, |
3236 | unsigned int set, unsigned int clear) | 3236 | unsigned int set, unsigned int clear) |
3237 | { | 3237 | { |
3238 | SLMP_INFO *info = tty->driver_data; | 3238 | SLMP_INFO *info = tty->driver_data; |
3239 | unsigned long flags; | 3239 | unsigned long flags; |