summaryrefslogtreecommitdiff
path: root/drivers/usb/usbip/vudc_rx.c
diff options
context:
space:
mode:
authorKrzysztof Opasiak <k.opasiak@samsung.com>2016-04-27 21:02:07 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-04-28 22:28:08 +0300
commit0255cf9e52a73ba0d5ca393c93c5fb458fea4532 (patch)
tree013e5f06ae5df37ec8d8cf545dab24b7155f41c5 /drivers/usb/usbip/vudc_rx.c
parent8c7003a3b4b4afd3734cdcc39217ef22d78a4a16 (diff)
downloadlinux-0255cf9e52a73ba0d5ca393c93c5fb458fea4532.tar.xz
usb: usbip: vudc: Rename find_endpoint() to vudc_find_endpoint()
As find_endpoint() is a global funcion rename it to vudc_find_endpoint() to clearly mark where does it come from. Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/usbip/vudc_rx.c')
-rw-r--r--drivers/usb/usbip/vudc_rx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/usbip/vudc_rx.c b/drivers/usb/usbip/vudc_rx.c
index 0b7abbc3f13b..344bd9473475 100644
--- a/drivers/usb/usbip/vudc_rx.c
+++ b/drivers/usb/usbip/vudc_rx.c
@@ -117,7 +117,7 @@ static int v_recv_cmd_submit(struct vudc *udc,
address |= USB_DIR_IN;
spin_lock_irq(&udc->lock);
- urb_p->ep = find_endpoint(udc, address);
+ urb_p->ep = vudc_find_endpoint(udc, address);
if (!urb_p->ep) {
/* we don't know the type, there may be isoc data! */
dev_err(&udc->pdev->dev, "request to nonexistent endpoint");