diff options
author | Fengguang Wu <fengguang.wu@intel.com> | 2014-11-12 22:44:05 +0800 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-11-12 08:59:24 -0600 |
commit | 0fc57ea0595e2d12eb4d5c8509d4b4aec864c9c5 (patch) | |
tree | 9e85ef63dfd57c13cc489c0b71a05d521a5298ac /drivers/usb/gadget | |
parent | e5ba1c024aa0c21ef1755402fd94fabfd6e18c16 (diff) |
usb: gadget: f_hid: hidg_alloc() can be static
drivers/usb/gadget/function/f_hid.c:852:21: sparse: symbol 'hidg_alloc' was not declared. Should it be static?
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget')
-rw-r--r-- | drivers/usb/gadget/function/f_hid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/function/f_hid.c b/drivers/usb/gadget/function/f_hid.c index 56ca3fc81555..7d18f413ffea 100644 --- a/drivers/usb/gadget/function/f_hid.c +++ b/drivers/usb/gadget/function/f_hid.c @@ -913,7 +913,7 @@ static void hidg_unbind(struct usb_configuration *c, struct usb_function *f) usb_free_all_descriptors(f); } -struct usb_function *hidg_alloc(struct usb_function_instance *fi) +static struct usb_function *hidg_alloc(struct usb_function_instance *fi) { struct f_hidg *hidg; struct f_hid_opts *opts; |