summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-09-16 10:14:46 +0400
committerFelipe Balbi <balbi@ti.com>2013-09-17 20:06:50 +0400
commit5c18a3636f059ac8571179ff0239df3fb68649ee (patch)
tree20c234385e0857d30e58403a1a2020a544c034f9 /drivers/usb/gadget
parent0f0392f245525cd0d477865e9f6b0ade52d2aa54 (diff)
downloadlinux-5c18a3636f059ac8571179ff0239df3fb68649ee.tar.xz
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/usb/gadget')
-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;