diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2012-09-06 14:11:08 -0400 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2012-09-10 08:35:58 -0400 |
commit | 4001a7a163d8e49eb9baf294527ad2ed50202e22 (patch) | |
tree | 6ef275d72dca6a8eb5d2e61ef237080c37bd2c92 /drivers/usb | |
parent | ffe0b335062505a98d7296dae2c2a197713f87e0 (diff) |
usb: gadget: pxa25x: make it compile with debug again
|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')
Acked-by: Michal Nazarewicz <mina86@mina86.com>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/gadget/pxa25x_udc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/pxa25x_udc.h b/drivers/usb/gadget/pxa25x_udc.h index 861f4df6ea22..2eca1e71fecd 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) | |||
225 | dev->stats.read.bytes, dev->stats.read.ops); | 225 | dev->stats.read.bytes, dev->stats.read.ops); |
226 | 226 | ||
227 | for (i = 1; i < PXA_UDC_NUM_ENDPOINTS; i++) { | 227 | for (i = 1; i < PXA_UDC_NUM_ENDPOINTS; i++) { |
228 | if (dev->ep [i].desc == NULL) | 228 | if (dev->ep[i].ep.desc == NULL) |
229 | continue; | 229 | continue; |
230 | DMSG ("udccs%d = %02x\n", i, *dev->ep->reg_udccs); | 230 | DMSG ("udccs%d = %02x\n", i, *dev->ep->reg_udccs); |
231 | } | 231 | } |