From: Malcolm Priestley Date: Tue, 15 Jul 2014 18:54:41 +0000 (+0100) Subject: staging: vt6656: rename PIPEnsBulkInUsbRead to vnt_submit_rx_urb X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=2dc37af09b255d01a90111cfea4e113b31d4be26;p=openwrt%2Fstaging%2Fblogic.git staging: vt6656: rename PIPEnsBulkInUsbRead to vnt_submit_rx_urb The function just submits to rx urbs. Signed-off-by: Malcolm Priestley Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/vt6656/main_usb.c b/drivers/staging/vt6656/main_usb.c index 9890f7db1650..b1da23c18aac 100644 --- a/drivers/staging/vt6656/main_usb.c +++ b/drivers/staging/vt6656/main_usb.c @@ -603,7 +603,7 @@ static bool device_alloc_bufs(struct vnt_private *priv) rcb->bBoolInUse = false; /* submit rx urb */ - if (PIPEnsBulkInUsbRead(priv, rcb)) + if (vnt_submit_rx_urb(priv, rcb)) goto free_rx_tx; } diff --git a/drivers/staging/vt6656/usbpipe.c b/drivers/staging/vt6656/usbpipe.c index 54badfe5f9fe..97ad3b6c3d7c 100644 --- a/drivers/staging/vt6656/usbpipe.c +++ b/drivers/staging/vt6656/usbpipe.c @@ -225,7 +225,7 @@ static void vnt_start_interrupt_urb_complete(struct urb *urb) * */ -int PIPEnsBulkInUsbRead(struct vnt_private *priv, struct vnt_rcb *rcb) +int vnt_submit_rx_urb(struct vnt_private *priv, struct vnt_rcb *rcb) { int status = 0; struct urb *urb; diff --git a/drivers/staging/vt6656/usbpipe.h b/drivers/staging/vt6656/usbpipe.h index 49c284fde907..e74aa0809928 100644 --- a/drivers/staging/vt6656/usbpipe.h +++ b/drivers/staging/vt6656/usbpipe.h @@ -39,7 +39,7 @@ void vnt_control_out_u8(struct vnt_private *, u8, u8, u8); void vnt_control_in_u8(struct vnt_private *, u8, u8, u8 *); int vnt_start_interrupt_urb(struct vnt_private *); -int PIPEnsBulkInUsbRead(struct vnt_private *, struct vnt_rcb *pRCB); +int vnt_submit_rx_urb(struct vnt_private *, struct vnt_rcb *); int vnt_tx_context(struct vnt_private *, struct vnt_usb_send_context *); #endif /* __USBPIPE_H__ */