Re: [PATCH 08/17] usb/gadget: convert loopback to new function interface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Wed, Nov 07, 2012 at 07:23:54PM +0100, Sebastian Andrzej Siewior wrote:

commit log.

> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx>

[ snip ]

> @@ -129,10 +113,12 @@ static struct usb_otg_descriptor otg_descriptor = {
>  	.bmAttributes =		USB_OTG_SRP | USB_OTG_HNP,
>  };
>  
> -const struct usb_descriptor_header *otg_desc[] = {
> +static const struct usb_descriptor_header *otg_desc[] = {
>  	(struct usb_descriptor_header *) &otg_descriptor,
>  	NULL,
>  };
> +#else
> +extern const struct usb_descriptor_header *otg_desc[];

you let otg_desc to be provided by somewhere else ? This looks like a
recipe for re-definition of otg_desc :-)

-- 
balbi

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux