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 -- 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