From: Fengguang Wu Date: Tue, 16 Sep 2014 14:26:46 +0000 (+0300) Subject: usb: gadget: uvc: uvc_alloc() can be static X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=4a6698b80cfe36dd4e3c6bc30ab81b4e0a837f64;p=linux-beck.git 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: Fengguang Wu Acked-by: Andrzej Pietrasiewicz Signed-off-by: Laurent Pinchart Signed-off-by: Felipe Balbi --- diff --git a/drivers/usb/gadget/function/f_uvc.c b/drivers/usb/gadget/function/f_uvc.c index 95dc1c68948c..bf9abf4aff22 100644 --- a/drivers/usb/gadget/function/f_uvc.c +++ b/drivers/usb/gadget/function/f_uvc.c @@ -773,7 +773,7 @@ static void uvc_unbind(struct usb_configuration *c, struct usb_function *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 f_uvc_opts *opts;