On Wed, 15 Sep 2010, Felipe Balbi wrote: > fix all UDC drivers to use the new interfaces > while also enabling compilation of udc.c on > Kconfig. > > Signed-off-by: Felipe Balbi <balbi@xxxxxx> > --- a/drivers/usb/gadget/dummy_hcd.c > +++ b/drivers/usb/gadget/dummy_hcd.c > @@ -46,6 +46,7 @@ > #include <linux/interrupt.h> > #include <linux/platform_device.h> > #include <linux/usb.h> > +#include <linux/usb/udc.h> > #include <linux/usb/gadget.h> > #include <linux/usb/hcd.h> > > @@ -160,6 +161,7 @@ struct dummy { > */ > struct dummy_ep ep [DUMMY_ENDPOINTS]; > int address; > + struct usb_udc udc; > struct usb_gadget gadget; > struct usb_gadget_driver *driver; > struct dummy_request fifo_req; You have removed all references to dum->driver, so you should remove the field itself. Alan Stern -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html