[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5031F262.3090103@linutronix.de>
Date: Mon, 20 Aug 2012 10:16:34 +0200
From: Sebastian Andrzej Siewior <bigeasy@...utronix.de>
To: Roland Stigge <stigge@...com.de>
CC: balbi@...com, linux-usb@...r.kernel.org,
linux-kernel@...r.kernel.org, gregkh@...uxfoundation.org,
arnd@...db.de, aletes.xgr@...il.com, kevin.wells@....com,
srinivas.bakki@....com
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists