mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] usb: gadget: pxa25x_udc: compile fix
@ 2012-06-22  4:14 Steve Bennett
  2012-06-23 12:52 ` Eric Miao
  0 siblings, 1 reply; 2+ messages in thread
From: Steve Bennett @ 2012-06-22  4:14 UTC (permalink / raw)
  To: Eric Miao, linux-arm-kernel, linux-usb, linux-kernel; +Cc: Steve Bennett

Signed-off-by: Steve Bennett <steveb@workware.net.au>
---
 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] usb: gadget: pxa25x_udc: compile fix
  2012-06-22  4:14 [PATCH] usb: gadget: pxa25x_udc: compile fix Steve Bennett
@ 2012-06-23 12:52 ` Eric Miao
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Miao @ 2012-06-23 12:52 UTC (permalink / raw)
  To: Steve Bennett; +Cc: linux-arm-kernel, linux-usb, linux-kernel

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
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-06-23 12:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-22  4:14 [PATCH] usb: gadget: pxa25x_udc: compile fix Steve Bennett
2012-06-23 12:52 ` Eric Miao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®