diff options
Diffstat (limited to 'drivers/usb/serial/kobil_sct.c')
-rw-r--r-- | drivers/usb/serial/kobil_sct.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/usb/serial/kobil_sct.c b/drivers/usb/serial/kobil_sct.c index 6db0e561f680..97901578343a 100644 --- a/drivers/usb/serial/kobil_sct.c +++ b/drivers/usb/serial/kobil_sct.c | |||
@@ -70,8 +70,7 @@ static int debug; | |||
70 | /* Function prototypes */ | 70 | /* Function prototypes */ |
71 | static int kobil_startup(struct usb_serial *serial); | 71 | static int kobil_startup(struct usb_serial *serial); |
72 | static void kobil_release(struct usb_serial *serial); | 72 | static void kobil_release(struct usb_serial *serial); |
73 | static int kobil_open(struct tty_struct *tty, | 73 | static int kobil_open(struct tty_struct *tty, struct usb_serial_port *port); |
74 | struct usb_serial_port *port, struct file *filp); | ||
75 | static void kobil_close(struct usb_serial_port *port); | 74 | static void kobil_close(struct usb_serial_port *port); |
76 | static int kobil_write(struct tty_struct *tty, struct usb_serial_port *port, | 75 | static int kobil_write(struct tty_struct *tty, struct usb_serial_port *port, |
77 | const unsigned char *buf, int count); | 76 | const unsigned char *buf, int count); |
@@ -211,8 +210,7 @@ static void kobil_release(struct usb_serial *serial) | |||
211 | } | 210 | } |
212 | 211 | ||
213 | 212 | ||
214 | static int kobil_open(struct tty_struct *tty, | 213 | static int kobil_open(struct tty_struct *tty, struct usb_serial_port *port) |
215 | struct usb_serial_port *port, struct file *filp) | ||
216 | { | 214 | { |
217 | int result = 0; | 215 | int result = 0; |
218 | struct kobil_private *priv; | 216 | struct kobil_private *priv; |