mirror of
https://github.com/torvalds/linux.git
synced 2024-12-30 14:52:05 +00:00
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>
This commit is contained in:
parent
ad303db62d
commit
814cf212f9
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user