Re: [PATCH] usb: add new usb gadget for ACM and mass storage

From: Felipe Balbi
Date: Fri Oct 07 2011 - 08:55:21 EST


Hi,

On Fri, Oct 07, 2011 at 03:13:50PM +0400, Sergei Shtylyov wrote:
> >>include/linux/device.h:705: error: conflicting types for âdev_get_drvdataâ
> >>include/linux/usb/gadget.h:497: note: previous implicit declaration
> >>of âdev_get_drvdataâ was here
> >>In file included from drivers/usb/gadget/acm_ms.c:44:
> >>drivers/usb/gadget/composite.c:1261: error: field name not in record
> >>or union initializer
> >>drivers/usb/gadget/composite.c:1261: error: (near initialization for
> >>âcomposite_driver.driverâ)
> >>make[3]: *** [drivers/usb/gadget/acm_ms.o] Error 1
> >>make[2]: *** [drivers/usb/gadget] Error 2
> >>make[1]: *** [drivers/usb] Error 2
> >>make: *** [drivers] Error 2
>
> >I believe Sergei had that patch already, but it wasn't applied for some
> >reason. Sergei, do you happen to remember the outcome of that patch ?
>
> It has been apllied allright to 3.1-rc1. :-)

very true. and I need memory pills as it went through me :-)

--
balbi

Attachment: signature.asc
Description: Digital signature