From: Sachin Kamat Date: Mon, 16 Sep 2013 06:14:45 +0000 (+0530) Subject: usb: gadget: f_ecm: Staticize ecm_alloc X-Git-Tag: upstream/snapshot3+hdmi~4136^2~12^2~13 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0f0392f245525cd0d477865e9f6b0ade52d2aa54;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git usb: gadget: f_ecm: Staticize ecm_alloc 'ecm_alloc' is local to this file. Make it static. Signed-off-by: Sachin Kamat Signed-off-by: Felipe Balbi --- diff --git a/drivers/usb/gadget/f_ecm.c b/drivers/usb/gadget/f_ecm.c index edab45d..8d9e6f7 100644 --- 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) +static struct usb_function *ecm_alloc(struct usb_function_instance *fi) { struct f_ecm *ecm; struct f_ecm_opts *opts;