summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/dummy_hcd.c
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2013-03-22 15:50:47 +0100
committerFelipe Balbi <balbi@ti.com>2013-03-27 12:18:58 +0100
commit814cf212f9d9e8a270e8cded8452c1c992fb21da (patch)
treeb0a17945b160151de9eecf2fde4c6a5a1e59a880 /drivers/usb/gadget/dummy_hcd.c
parentusb: gadget: net2280: fix sparse warnings (diff)
downloadlinux-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.c2
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 = {