projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5ba1c0
)
usb: gadget: f_hid: hidg_alloc() can be static
author
Fengguang Wu
<fengguang.wu@intel.com>
Wed, 12 Nov 2014 14:44:05 +0000
(22:44 +0800)
committer
Felipe Balbi
<balbi@ti.com>
Wed, 12 Nov 2014 14:59:24 +0000
(08:59 -0600)
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>
drivers/usb/gadget/function/f_hid.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/gadget/function/f_hid.c
b/drivers/usb/gadget/function/f_hid.c
index 56ca3fc815558c5df89ad797218622d2f62107b4..7d18f413ffea9876274b254f95ca5984b68fcedb 100644
(file)
--- 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)
+st
atic st
ruct usb_function *hidg_alloc(struct usb_function_instance *fi)
{
struct f_hidg *hidg;
struct f_hid_opts *opts;