Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 338693
b: refs/heads/master
c: 37203d6
h: refs/heads/master
i:
  338691: 90f3a8d
v: v3
  • Loading branch information
Johan Hovold authored and Greg Kroah-Hartman committed Nov 21, 2012
1 parent 889d43a commit f73dc78
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b0f4765ae0f095bdc3d090937e72a198dee5cd39
refs/heads/master: 37203d6f1d0bef0c0943f3d853efdccb3246e7a6
4 changes: 1 addition & 3 deletions trunk/drivers/usb/serial/opticon.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ MODULE_DEVICE_TABLE(usb, id_table);

/* This structure holds all of the individual device information */
struct opticon_private {
struct usb_serial *serial;
struct usb_serial_port *port;
unsigned char *bulk_in_buffer;
struct urb *bulk_read_urb;
Expand Down Expand Up @@ -438,7 +437,7 @@ static int get_serial_info(struct opticon_private *priv,

/* fake emulate a 16550 uart to make userspace code happy */
tmp.type = PORT_16550A;
tmp.line = priv->serial->minor;
tmp.line = priv->port->serial->minor;
tmp.port = 0;
tmp.irq = 0;
tmp.flags = ASYNC_SKIP_TEST | ASYNC_AUTO_IRQ;
Expand Down Expand Up @@ -484,7 +483,6 @@ static int opticon_startup(struct usb_serial *serial)
return -ENOMEM;
}
spin_lock_init(&priv->lock);
priv->serial = serial;
priv->port = serial->port[0];

/* find our bulk endpoint */
Expand Down

0 comments on commit f73dc78

Please sign in to comment.