projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b0bf88
)
usb: gadget: uvc: uvc_alloc() can be static
author
Fengguang Wu
<
[email protected]
>
Tue, 16 Sep 2014 14:26:46 +0000
(17:26 +0300)
committer
Felipe Balbi
<
[email protected]
>
Tue, 16 Sep 2014 14:58:52 +0000
(09:58 -0500)
The function isn't called from outside of its compilation unit, make it
static.
Signed-off-by: Fengguang Wu <
[email protected]
>
Acked-by: Andrzej Pietrasiewicz <
[email protected]
>
Signed-off-by: Laurent Pinchart <
[email protected]
>
Signed-off-by: Felipe Balbi <
[email protected]
>
drivers/usb/gadget/function/f_uvc.c
patch
|
blob
|
history
diff --git
a/drivers/usb/gadget/function/f_uvc.c
b/drivers/usb/gadget/function/f_uvc.c
index 95dc1c68948c8bbc020f4ada06c42663e2e3e302..bf9abf4aff226fa3404764d80c706cec6addf560 100644
(file)
--- 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)
+st
atic st
ruct usb_function *uvc_alloc(struct usb_function_instance *fi)
{
struct uvc_device *uvc;
struct f_uvc_opts *opts;