projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad303db
)
usb: gadget: dummy: fix sparse warning
author
Felipe Balbi
<balbi@ti.com>
Fri, 22 Mar 2013 14:50:47 +0000
(16:50 +0200)
committer
Felipe Balbi
<balbi@ti.com>
Wed, 27 Mar 2013 11:18:58 +0000
(13:18 +0200)
fix the following sparse warning:
drivers/usb/gadget/dummy_hcd.c:1912:12: warning: symbol 'usb3_bos_desc' was not declared. Should it be static?
Acked-by: Michal Nazarewicz <mina86@mina86.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/dummy_hcd.c
patch
|
blob
|
history
diff --git
a/drivers/usb/gadget/dummy_hcd.c
b/drivers/usb/gadget/dummy_hcd.c
index ce751555f6ba0ca061e94beb5f907fd9275eee7c..a792e322f4f1b84c58e20538b48d1e7beea4082f 100644
(file)
--- a/
drivers/usb/gadget/dummy_hcd.c
+++ b/
drivers/usb/gadget/dummy_hcd.c
@@
-1906,7
+1906,7
@@
done:
}
/* usb 3.0 root hub device descriptor */
-struct {
+st
atic st
ruct {
struct usb_bos_descriptor bos;
struct usb_ss_cap_descriptor ss_cap;
} __packed usb3_bos_desc = {