diff options
Diffstat (limited to 'drivers/usb/serial/cp210x.c')
-rw-r--r-- | drivers/usb/serial/cp210x.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/usb/serial/cp210x.c b/drivers/usb/serial/cp210x.c index e8d5133ce9c8..d9f586dc6ecc 100644 --- a/drivers/usb/serial/cp210x.c +++ b/drivers/usb/serial/cp210x.c | |||
@@ -36,8 +36,7 @@ | |||
36 | static int cp2101_open(struct tty_struct *, struct usb_serial_port *, | 36 | static int cp2101_open(struct tty_struct *, struct usb_serial_port *, |
37 | struct file *); | 37 | struct file *); |
38 | static void cp2101_cleanup(struct usb_serial_port *); | 38 | static void cp2101_cleanup(struct usb_serial_port *); |
39 | static void cp2101_close(struct tty_struct *, struct usb_serial_port *, | 39 | static void cp2101_close(struct usb_serial_port *); |
40 | struct file*); | ||
41 | static void cp2101_get_termios(struct tty_struct *, | 40 | static void cp2101_get_termios(struct tty_struct *, |
42 | struct usb_serial_port *port); | 41 | struct usb_serial_port *port); |
43 | static void cp2101_get_termios_port(struct usb_serial_port *port, | 42 | static void cp2101_get_termios_port(struct usb_serial_port *port, |
@@ -398,8 +397,7 @@ static void cp2101_cleanup(struct usb_serial_port *port) | |||
398 | } | 397 | } |
399 | } | 398 | } |
400 | 399 | ||
401 | static void cp2101_close(struct tty_struct *tty, struct usb_serial_port *port, | 400 | static void cp2101_close(struct usb_serial_port *port) |
402 | struct file *filp) | ||
403 | { | 401 | { |
404 | dbg("%s - port %d", __func__, port->number); | 402 | dbg("%s - port %d", __func__, port->number); |
405 | 403 | ||