usb: gadget: uvc: rename functions to avoid conflicts with host uvc
authorAndrzej Pietrasiewicz <andrzej.p@samsung.com>
Mon, 8 Sep 2014 23:02:08 +0000 (02:02 +0300)
committerFelipe Balbi <balbi@ti.com>
Tue, 9 Sep 2014 14:49:03 +0000 (09:49 -0500)
commit7ea95b110811fa8e41f5960c278bcfc80b8b21c1
tree7d3ac41dd7a19baba014ea06a9afabb903bbcf80
parent70aacc5777d1f1ca0a88067c9121ce86441bc4e0
usb: gadget: uvc: rename functions to avoid conflicts with host uvc

Prepare for separate compilation of uvc function's components.
Some symbols will have to be exported, so rename to avoid
conflicts with functions of the same name in host uvc.

Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
Tested-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
[Rename uvc_video_pump and uvc_queue_head as well]
[Rename forgotten uvc_queue_cancel instance in a comment]
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/function/f_uvc.c
drivers/usb/gadget/function/uvc_queue.c
drivers/usb/gadget/function/uvc_v4l2.c
drivers/usb/gadget/function/uvc_video.c