lkml.org 
[lkml]   [2012]   [Jun]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] usb: gadget: pxa25x_udc: compile fix
On Fri, Jun 22, 2012 at 12:14 PM, Steve Bennett <steveb@workware.net.au> wrote:
> Signed-off-by: Steve Bennett <steveb@workware.net.au>

Acked-by: Eric Miao <eric.y.miao@gmail.com>

> ---
>  drivers/usb/gadget/pxa25x_udc.h |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/usb/gadget/pxa25x_udc.h b/drivers/usb/gadget/pxa25x_udc.h
> index 861f4df..2eca1e7 100644
> --- a/drivers/usb/gadget/pxa25x_udc.h
> +++ b/drivers/usb/gadget/pxa25x_udc.h
> @@ -225,7 +225,7 @@ dump_state(struct pxa25x_udc *dev)
>                dev->stats.read.bytes, dev->stats.read.ops);
>
>        for (i = 1; i < PXA_UDC_NUM_ENDPOINTS; i++) {
> -               if (dev->ep [i].desc == NULL)
> +               if (dev->ep[i].ep.desc == NULL)
>                        continue;
>                DMSG ("udccs%d = %02x\n", i, *dev->ep->reg_udccs);
>        }
> --
> 1.7.10
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2012-06-23 15:21    [W:1.207 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site