projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b97be8
)
usb: gadget: f_ecm: Staticize ecm_alloc
author
Sachin Kamat
<sachin.kamat@linaro.org>
Mon, 16 Sep 2013 06:14:45 +0000
(11:44 +0530)
committer
Felipe Balbi
<balbi@ti.com>
Tue, 17 Sep 2013 16:06:44 +0000
(11:06 -0500)
'ecm_alloc' is local to this file. Make it static.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/f_ecm.c
patch
|
blob
|
history
diff --git
a/drivers/usb/gadget/f_ecm.c
b/drivers/usb/gadget/f_ecm.c
index
edab45d
..
8d9e6f7
100644
(file)
--- a/
drivers/usb/gadget/f_ecm.c
+++ b/
drivers/usb/gadget/f_ecm.c
@@
-995,7
+995,7
@@
static void ecm_unbind(struct usb_configuration *c, struct usb_function *f)
usb_ep_free_request(ecm->notify, ecm->notify_req);
}
-struct usb_function *ecm_alloc(struct usb_function_instance *fi)
+st
atic st
ruct usb_function *ecm_alloc(struct usb_function_instance *fi)
{
struct f_ecm *ecm;
struct f_ecm_opts *opts;