On Fri, Mar 22 2013, Felipe Balbi wrote:
> 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?
>
> Signed-off-by: Felipe Balbi <ba...@ti.com>

Acked-by: Michal Nazarewicz <min...@mina86.com>

> ---
>  drivers/usb/gadget/dummy_hcd.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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 = {
> -- 
> 1.8.2
>

-- 
Best regards,                                         _     _
.o. | Liege of Serenely Enlightened Majesty of      o' \,=./ `o
..o | Computer Science,  Michał “mina86” Nazarewicz    (o o)
ooo +----<email/xmpp: m...@google.com>--------------ooO--(_)--Ooo--

Attachment: pgpU6DHUACwp0.pgp
Description: PGP signature

Reply via email to