diff options
author | Felipe Balbi <balbi@ti.com> | 2013-03-22 15:50:47 +0100 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-03-27 12:18:58 +0100 |
commit | 814cf212f9d9e8a270e8cded8452c1c992fb21da (patch) | |
tree | b0a17945b160151de9eecf2fde4c6a5a1e59a880 /drivers/usb/gadget/dummy_hcd.c | |
parent | usb: gadget: net2280: fix sparse warnings (diff) | |
download | linux-814cf212f9d9e8a270e8cded8452c1c992fb21da.tar.xz linux-814cf212f9d9e8a270e8cded8452c1c992fb21da.zip |
usb: gadget: dummy: fix sparse warning
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>
Diffstat (limited to 'drivers/usb/gadget/dummy_hcd.c')
-rw-r--r-- | drivers/usb/gadget/dummy_hcd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/dummy_hcd.c b/drivers/usb/gadget/dummy_hcd.c index ce751555f6ba..a792e322f4f1 100644 --- 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 { +static struct { struct usb_bos_descriptor bos; struct usb_ss_cap_descriptor ss_cap; } __packed usb3_bos_desc = { |