OSDN Git Service
(root)
/
uclinux-h8
/
linux.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
ce75155
..
a792e32
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 = {