On Thu, Sep 06 2012, Sebastian Andrzej Siewior wrote:
> |drivers/usb/gadget/pxa25x_udc.h: In function 'dump_state':
> |drivers/usb/gadget/pxa25x_udc.h:228:20: error: invalid type argument of '->' 
> (have 'struct usb_ep')
>
> Signed-off-by: Sebastian Andrzej Siewior <bige...@linutronix.de>

Acked-by: Michal Nazarewicz <min...@mina86.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.4
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-usb" in
> the body of a message to majord...@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

-- 
Best regards,                                         _     _
.o. | Liege of Serenely Enlightened Majesty of      o' \,=./ `o
..o | Computer Science,  Michał “mina86” Nazarewicz    (o o)
ooo +----<email/xmpp: m...@google.com>--------------ooO--(_)--Ooo--

Attachment: pgpU2tDejwCuv.pgp
Description: PGP signature

Reply via email to