|
Lines 2448-2454
Link Here
|
| 2448 |
static int keyspan_port_probe(struct usb_serial_port *port) |
2448 |
static int keyspan_port_probe(struct usb_serial_port *port) |
| 2449 |
{ |
2449 |
{ |
| 2450 |
struct usb_serial *serial = port->serial; |
2450 |
struct usb_serial *serial = port->serial; |
| 2451 |
struct keyspan_port_private *s_priv; |
2451 |
struct keyspan_serial_private *s_priv; |
| 2452 |
struct keyspan_port_private *p_priv; |
2452 |
struct keyspan_port_private *p_priv; |
| 2453 |
const struct keyspan_device_details *d_details; |
2453 |
const struct keyspan_device_details *d_details; |
| 2454 |
struct callbacks *cback; |
2454 |
struct callbacks *cback; |
|
Lines 2463-2469
Link Here
|
| 2463 |
if (!p_priv) |
2463 |
if (!p_priv) |
| 2464 |
return -ENOMEM; |
2464 |
return -ENOMEM; |
| 2465 |
|
2465 |
|
| 2466 |
s_priv = usb_get_serial_data(port->serial); |
|
|
| 2467 |
p_priv->device_details = d_details; |
2466 |
p_priv->device_details = d_details; |
| 2468 |
|
2467 |
|
| 2469 |
/* Setup values for the various callback routines */ |
2468 |
/* Setup values for the various callback routines */ |