Commit ceebd903 authored by Malcolm Priestley's avatar Malcolm Priestley Committed by Greg Kroah-Hartman

staging: vt6656: rename s_nsBulkOutIoCompleteWrite to vnt_tx_context_complete

Signed-off-by: default avatarMalcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 476e7d97
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
static void vnt_start_interrupt_urb_complete(struct urb *urb); static void vnt_start_interrupt_urb_complete(struct urb *urb);
static void s_nsBulkInUsbIoCompleteRead(struct urb *urb); static void s_nsBulkInUsbIoCompleteRead(struct urb *urb);
static void s_nsBulkOutIoCompleteWrite(struct urb *urb); static void vnt_tx_context_complete(struct urb *urb);
int vnt_control_out(struct vnt_private *priv, u8 request, u16 value, int vnt_control_out(struct vnt_private *priv, u8 request, u16 value,
u16 index, u16 length, u8 *buffer) u16 index, u16 length, u8 *buffer)
...@@ -355,7 +355,7 @@ int vnt_tx_context(struct vnt_private *priv, ...@@ -355,7 +355,7 @@ int vnt_tx_context(struct vnt_private *priv,
usb_sndbulkpipe(priv->usb, 3), usb_sndbulkpipe(priv->usb, 3),
context->data, context->data,
context->buf_len, context->buf_len,
s_nsBulkOutIoCompleteWrite, vnt_tx_context_complete,
context); context);
status = usb_submit_urb(urb, GFP_ATOMIC); status = usb_submit_urb(urb, GFP_ATOMIC);
...@@ -370,7 +370,7 @@ int vnt_tx_context(struct vnt_private *priv, ...@@ -370,7 +370,7 @@ int vnt_tx_context(struct vnt_private *priv,
} }
/* /*
* Description: s_nsBulkOutIoCompleteWrite * Description: vnt_tx_context_complete
* 1a) Indicate to the protocol the status of the write. * 1a) Indicate to the protocol the status of the write.
* 1b) Return ownership of the packet to the protocol. * 1b) Return ownership of the packet to the protocol.
* *
...@@ -397,7 +397,7 @@ int vnt_tx_context(struct vnt_private *priv, ...@@ -397,7 +397,7 @@ int vnt_tx_context(struct vnt_private *priv,
* *
*/ */
static void s_nsBulkOutIoCompleteWrite(struct urb *urb) static void vnt_tx_context_complete(struct urb *urb)
{ {
struct vnt_usb_send_context *context = urb->context; struct vnt_usb_send_context *context = urb->context;
struct vnt_private *priv = context->priv; struct vnt_private *priv = context->priv;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment