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