Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4a6698b8 authored by Fengguang Wu's avatar Fengguang Wu Committed by Felipe Balbi
Browse files

usb: gadget: uvc: uvc_alloc() can be static



The function isn't called from outside of its compilation unit, make it
static.

Signed-off-by: default avatarFengguang Wu <fengguang.wu@intel.com>
Acked-by: default avatarAndrzej Pietrasiewicz <andrzej.p@samsung.com>
Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 1b0bf88f
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -773,7 +773,7 @@ static void uvc_unbind(struct usb_configuration *c, struct usb_function *f)
	usb_free_all_descriptors(f);
	usb_free_all_descriptors(f);
}
}


struct usb_function *uvc_alloc(struct usb_function_instance *fi)
static struct usb_function *uvc_alloc(struct usb_function_instance *fi)
{
{
	struct uvc_device *uvc;
	struct uvc_device *uvc;
	struct f_uvc_opts *opts;
	struct f_uvc_opts *opts;