summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2013-03-22 14:50:47 (GMT)
committerFelipe Balbi <balbi@ti.com>2013-03-27 11:18:58 (GMT)
commit814cf212f9d9e8a270e8cded8452c1c992fb21da (patch)
treeb0a17945b160151de9eecf2fde4c6a5a1e59a880 /drivers
parentad303db62d280fb8e5b4174273f4fb8b03b64747 (diff)
downloadlinux-814cf212f9d9e8a270e8cded8452c1c992fb21da.tar.xz
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')
-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 ce75155..a792e32 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 = {