usb: gadget: pxa25x_udc: compile fix
PATCH 1/1 usb: gadget: pxa25x_udc: compile fix
Signed-off-by Steve Bennett <[email protected]>
--- drivers/usb/gadget/pxa25x_udc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/gadget/pxa25x_udc.h +1 -1
@@ -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); }
Signature · 1 line
1.7.10
Quoted 1 line · Steve Bennett
Signed-off-by Steve Bennett <[email protected]>
Acked-by Eric Miao <[email protected]>
Quoted 20 lines
---
?drivers/usb/gadget/pxa25x_udc.h | ? ?2 +-
?1 file changed, 1 insertion(+), 1 deletion(-)drivers/usb/gadget/pxa25x_udc.h +1
-2@@ -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