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.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.c')
-rw-r--r-- | drivers/char/synclink.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/char/synclink.c b/drivers/char/synclink.c index d359e092904a..691e1094c20b 100644 --- a/drivers/char/synclink.c +++ b/drivers/char/synclink.c | |||
@@ -824,7 +824,7 @@ static isr_dispatch_func UscIsrTable[7] = | |||
824 | * ioctl call handlers | 824 | * ioctl call handlers |
825 | */ | 825 | */ |
826 | static int tiocmget(struct tty_struct *tty); | 826 | static int tiocmget(struct tty_struct *tty); |
827 | static int tiocmset(struct tty_struct *tty, struct file *file, | 827 | static int tiocmset(struct tty_struct *tty, |
828 | unsigned int set, unsigned int clear); | 828 | unsigned int set, unsigned int clear); |
829 | static int mgsl_get_stats(struct mgsl_struct * info, struct mgsl_icount | 829 | static int mgsl_get_stats(struct mgsl_struct * info, struct mgsl_icount |
830 | __user *user_icount); | 830 | __user *user_icount); |
@@ -2871,8 +2871,8 @@ static int tiocmget(struct tty_struct *tty) | |||
2871 | 2871 | ||
2872 | /* set modem control signals (DTR/RTS) | 2872 | /* set modem control signals (DTR/RTS) |
2873 | */ | 2873 | */ |
2874 | static int tiocmset(struct tty_struct *tty, struct file *file, | 2874 | static int tiocmset(struct tty_struct *tty, |
2875 | unsigned int set, unsigned int clear) | 2875 | unsigned int set, unsigned int clear) |
2876 | { | 2876 | { |
2877 | struct mgsl_struct *info = tty->driver_data; | 2877 | struct mgsl_struct *info = tty->driver_data; |
2878 | unsigned long flags; | 2878 | unsigned long flags; |