summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-09-16 08:14:46 +0200
committerFelipe Balbi <balbi@ti.com>2013-09-17 18:06:50 +0200
commit5c18a3636f059ac8571179ff0239df3fb68649ee (patch)
tree20c234385e0857d30e58403a1a2020a544c034f9 /drivers
parentusb: gadget: f_ecm: Staticize ecm_alloc (diff)
downloadlinux-5c18a3636f059ac8571179ff0239df3fb68649ee.tar.xz
linux-5c18a3636f059ac8571179ff0239df3fb68649ee.zip
usb: gadget: f_eem: Staticize eem_alloc
'eem_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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/usb/gadget/f_eem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/f_eem.c b/drivers/usb/gadget/f_eem.c
index d00392d879db..d61c11d765d0 100644
--- a/drivers/usb/gadget/f_eem.c
+++ b/drivers/usb/gadget/f_eem.c
@@ -624,7 +624,7 @@ static void eem_unbind(struct usb_configuration *c, struct usb_function *f)
usb_free_all_descriptors(f);
}
-struct usb_function *eem_alloc(struct usb_function_instance *fi)
+static struct usb_function *eem_alloc(struct usb_function_instance *fi)
{
struct f_eem *eem;
struct f_eem_opts *opts;