Messages in this thread | | | Date | Mon, 20 Aug 2012 10:16:34 +0200 | From | Sebastian Andrzej Siewior <> | Subject | Re: [PATCH 3/3] usb: gadget: lpc32xx_udc: Support multiple controllers |
| |
On 08/20/2012 10:11 AM, Roland Stigge wrote: > --- linux-2.6.orig/drivers/usb/gadget/lpc32xx_udc.c > +++ linux-2.6/drivers/usb/gadget/lpc32xx_udc.c > @@ -2608,10 +2608,9 @@ static void nop_release(struct device *d > /* nothing to free */ > } > > -static struct lpc32xx_udc controller = { > +static struct lpc32xx_udc controller_template = {
make it const please.
> .gadget = { > .ops =&lpc32xx_udc_ops, > - .ep0 =&controller.ep[0].ep, > .name = driver_name, > .dev = { > .init_name = "gadget",
Sebastian
| |