lkml.org 
[lkml]   [2012]   [Aug]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2012-08-20 12:01    [W:0.048 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site