aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/m66592-udc.h
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2013-01-24 03:49:17 -0500
committerFelipe Balbi <balbi@ti.com>2013-01-24 14:11:29 -0500
commit3381fb602d4ae0a6388ba336a29bf999c1744cd6 (patch)
treebea5fa0a0f32ce940b2f40bfc708ee0ec040facc /drivers/usb/gadget/m66592-udc.h
parenteb65796ef161f1b2f959a6ab4b818976054b235d (diff)
usb: gadget: m66592-udc: convert to udc_start/udc_stop
Mechanical change making use of the new (can we still call it new ?) interface for registering UDC drivers. Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/m66592-udc.h')
-rw-r--r--drivers/usb/gadget/m66592-udc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/m66592-udc.h b/drivers/usb/gadget/m66592-udc.h
index 16c7e14678b8..96d49d7bfb6b 100644
--- a/drivers/usb/gadget/m66592-udc.h
+++ b/drivers/usb/gadget/m66592-udc.h
@@ -492,6 +492,7 @@ struct m66592 {
492 int isochronous; 492 int isochronous;
493 int num_dma; 493 int num_dma;
494}; 494};
495#define to_m66592(g) (container_of((g), struct m66592, gadget))
495 496
496#define gadget_to_m66592(_gadget) container_of(_gadget, struct m66592, gadget) 497#define gadget_to_m66592(_gadget) container_of(_gadget, struct m66592, gadget)
497#define m66592_to_gadget(m66592) (&m66592->gadget) 498#define m66592_to_gadget(m66592) (&m66592->gadget)