diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-08-06 12:48:31 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-08-06 12:48:31 -0400 |
commit | c87985a3ce723995fc7b25e598238d67154108a1 (patch) | |
tree | e60def1b77c25c1d74180f62e8a5603f9826f209 /drivers/usb/serial/quatech2.c | |
parent | d155255a344c417acad74156654295a2964e6b81 (diff) | |
parent | 0d7614f09c1ebdbaa1599a5aba7593f147bf96ee (diff) |
Merge tty-next into 3.6-rc1
This handles the merge issue in:
arch/um/drivers/line.c
arch/um/drivers/line.h
And resolves the duplicate patches that were in both trees do to the
tty-next branch not getting merged into 3.6-rc1.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/serial/quatech2.c')
-rw-r--r-- | drivers/usb/serial/quatech2.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/usb/serial/quatech2.c b/drivers/usb/serial/quatech2.c index 7de6d491a859..7df9cdb053ed 100644 --- a/drivers/usb/serial/quatech2.c +++ b/drivers/usb/serial/quatech2.c | |||
@@ -345,7 +345,6 @@ static void qt2_set_termios(struct tty_struct *tty, | |||
345 | static int qt2_open(struct tty_struct *tty, struct usb_serial_port *port) | 345 | static int qt2_open(struct tty_struct *tty, struct usb_serial_port *port) |
346 | { | 346 | { |
347 | struct usb_serial *serial; | 347 | struct usb_serial *serial; |
348 | struct qt2_serial_private *serial_priv; | ||
349 | struct qt2_port_private *port_priv; | 348 | struct qt2_port_private *port_priv; |
350 | u8 *data; | 349 | u8 *data; |
351 | u16 device_port; | 350 | u16 device_port; |
@@ -357,7 +356,6 @@ static int qt2_open(struct tty_struct *tty, struct usb_serial_port *port) | |||
357 | serial = port->serial; | 356 | serial = port->serial; |
358 | 357 | ||
359 | port_priv = usb_get_serial_port_data(port); | 358 | port_priv = usb_get_serial_port_data(port); |
360 | serial_priv = usb_get_serial_data(serial); | ||
361 | 359 | ||
362 | /* set the port to RS232 mode */ | 360 | /* set the port to RS232 mode */ |
363 | status = qt2_control_msg(serial->dev, QT2_GET_SET_QMCR, | 361 | status = qt2_control_msg(serial->dev, QT2_GET_SET_QMCR, |
@@ -417,13 +415,11 @@ static int qt2_open(struct tty_struct *tty, struct usb_serial_port *port) | |||
417 | static void qt2_close(struct usb_serial_port *port) | 415 | static void qt2_close(struct usb_serial_port *port) |
418 | { | 416 | { |
419 | struct usb_serial *serial; | 417 | struct usb_serial *serial; |
420 | struct qt2_serial_private *serial_priv; | ||
421 | struct qt2_port_private *port_priv; | 418 | struct qt2_port_private *port_priv; |
422 | unsigned long flags; | 419 | unsigned long flags; |
423 | int i; | 420 | int i; |
424 | 421 | ||
425 | serial = port->serial; | 422 | serial = port->serial; |
426 | serial_priv = usb_get_serial_data(serial); | ||
427 | port_priv = usb_get_serial_port_data(port); | 423 | port_priv = usb_get_serial_port_data(port); |
428 | 424 | ||
429 | port_priv->is_open = false; | 425 | port_priv->is_open = false; |