diff options
author | Malcolm Priestley | 2013-08-27 13:41:50 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2013-08-28 01:56:42 +0200 |
commit | dcdf1d0323a4eea3bc0a1131057f78234d082079 (patch) | |
tree | dc133f074b82b7111cacc2f637e9b96e18b89c44 /drivers/staging/vt6656/usbpipe.c | |
parent | staging: vt6656: rxtx.c s_vFillTxKey use switch for pTransmitKey->byCipherSuite (diff) | |
download | kernel-qcow2-linux-dcdf1d0323a4eea3bc0a1131057f78234d082079.tar.gz kernel-qcow2-linux-dcdf1d0323a4eea3bc0a1131057f78234d082079.tar.xz kernel-qcow2-linux-dcdf1d0323a4eea3bc0a1131057f78234d082079.zip |
staging: vt6656: device.h replace typedef struct _USB_SEND_CONTEXT.
Replace with struct vnt_usb_send_context.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6656/usbpipe.c')
-rw-r--r-- | drivers/staging/vt6656/usbpipe.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/staging/vt6656/usbpipe.c b/drivers/staging/vt6656/usbpipe.c index 9b9122dc68cd..78749eff26e4 100644 --- a/drivers/staging/vt6656/usbpipe.c +++ b/drivers/staging/vt6656/usbpipe.c @@ -546,7 +546,8 @@ static void s_nsBulkInUsbIoCompleteRead(struct urb *urb) * */ -int PIPEnsSendBulkOut(struct vnt_private *pDevice, PUSB_SEND_CONTEXT pContext) +int PIPEnsSendBulkOut(struct vnt_private *pDevice, + struct vnt_usb_send_context *pContext) { int status; struct urb *pUrb; @@ -628,13 +629,13 @@ static void s_nsBulkOutIoCompleteWrite(struct urb *urb) int status; CONTEXT_TYPE ContextType; unsigned long ulBufLen; - PUSB_SEND_CONTEXT pContext; + struct vnt_usb_send_context *pContext; DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"---->s_nsBulkOutIoCompleteWrite\n"); // // The context given to IoSetCompletionRoutine is an USB_CONTEXT struct // - pContext = (PUSB_SEND_CONTEXT) urb->context; + pContext = (struct vnt_usb_send_context *)urb->context; pDevice = pContext->pDevice; ContextType = pContext->Type; |