Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 814cf212 authored by Felipe Balbi's avatar Felipe Balbi
Browse files

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: default avatarMichal Nazarewicz <mina86@mina86.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent ad303db6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1906,7 +1906,7 @@ static int dummy_hub_status(struct usb_hcd *hcd, char *buf)
}

/* 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 = {