diff options
Diffstat (limited to 'drivers/usb/serial/whiteheat.c')
-rw-r--r-- | drivers/usb/serial/whiteheat.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/usb/serial/whiteheat.c b/drivers/usb/serial/whiteheat.c index 3f9ac88d588c..5b073bcc807b 100644 --- a/drivers/usb/serial/whiteheat.c +++ b/drivers/usb/serial/whiteheat.c | |||
@@ -152,12 +152,12 @@ static int whiteheat_write(struct tty_struct *tty, | |||
152 | struct usb_serial_port *port, | 152 | struct usb_serial_port *port, |
153 | const unsigned char *buf, int count); | 153 | const unsigned char *buf, int count); |
154 | static int whiteheat_write_room(struct tty_struct *tty); | 154 | static int whiteheat_write_room(struct tty_struct *tty); |
155 | static int whiteheat_ioctl(struct tty_struct *tty, struct file *file, | 155 | static int whiteheat_ioctl(struct tty_struct *tty, |
156 | unsigned int cmd, unsigned long arg); | 156 | unsigned int cmd, unsigned long arg); |
157 | static void whiteheat_set_termios(struct tty_struct *tty, | 157 | static void whiteheat_set_termios(struct tty_struct *tty, |
158 | struct usb_serial_port *port, struct ktermios *old); | 158 | struct usb_serial_port *port, struct ktermios *old); |
159 | static int whiteheat_tiocmget(struct tty_struct *tty, struct file *file); | 159 | static int whiteheat_tiocmget(struct tty_struct *tty); |
160 | static int whiteheat_tiocmset(struct tty_struct *tty, struct file *file, | 160 | static int whiteheat_tiocmset(struct tty_struct *tty, |
161 | unsigned int set, unsigned int clear); | 161 | unsigned int set, unsigned int clear); |
162 | static void whiteheat_break_ctl(struct tty_struct *tty, int break_state); | 162 | static void whiteheat_break_ctl(struct tty_struct *tty, int break_state); |
163 | static int whiteheat_chars_in_buffer(struct tty_struct *tty); | 163 | static int whiteheat_chars_in_buffer(struct tty_struct *tty); |
@@ -833,7 +833,7 @@ static int whiteheat_write_room(struct tty_struct *tty) | |||
833 | return (room); | 833 | return (room); |
834 | } | 834 | } |
835 | 835 | ||
836 | static int whiteheat_tiocmget(struct tty_struct *tty, struct file *file) | 836 | static int whiteheat_tiocmget(struct tty_struct *tty) |
837 | { | 837 | { |
838 | struct usb_serial_port *port = tty->driver_data; | 838 | struct usb_serial_port *port = tty->driver_data; |
839 | struct whiteheat_private *info = usb_get_serial_port_data(port); | 839 | struct whiteheat_private *info = usb_get_serial_port_data(port); |
@@ -850,7 +850,7 @@ static int whiteheat_tiocmget(struct tty_struct *tty, struct file *file) | |||
850 | return modem_signals; | 850 | return modem_signals; |
851 | } | 851 | } |
852 | 852 | ||
853 | static int whiteheat_tiocmset(struct tty_struct *tty, struct file *file, | 853 | static int whiteheat_tiocmset(struct tty_struct *tty, |
854 | unsigned int set, unsigned int clear) | 854 | unsigned int set, unsigned int clear) |
855 | { | 855 | { |
856 | struct usb_serial_port *port = tty->driver_data; | 856 | struct usb_serial_port *port = tty->driver_data; |
@@ -874,7 +874,7 @@ static int whiteheat_tiocmset(struct tty_struct *tty, struct file *file, | |||
874 | } | 874 | } |
875 | 875 | ||
876 | 876 | ||
877 | static int whiteheat_ioctl(struct tty_struct *tty, struct file *file, | 877 | static int whiteheat_ioctl(struct tty_struct *tty, |
878 | unsigned int cmd, unsigned long arg) | 878 | unsigned int cmd, unsigned long arg) |
879 | { | 879 | { |
880 | struct usb_serial_port *port = tty->driver_data; | 880 | struct usb_serial_port *port = tty->driver_data; |