aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/amd5536udc.h
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2013-01-24 03:28:39 -0500
committerFelipe Balbi <balbi@ti.com>2013-01-24 14:11:17 -0500
commit45005f6927d98d9a3364287a6e9faca7121cc8f1 (patch)
treeb617758f53576761e9b63a64d4ea84c7fce897a8 /drivers/usb/gadget/amd5536udc.h
parentaac16b6341f0022213fe828c50b7064744df86e0 (diff)
usb: gadget: amd5536udc: 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/amd5536udc.h')
-rw-r--r--drivers/usb/gadget/amd5536udc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/gadget/amd5536udc.h b/drivers/usb/gadget/amd5536udc.h
index 14af87d65caa..f1bf32e6b8d8 100644
--- a/drivers/usb/gadget/amd5536udc.h
+++ b/drivers/usb/gadget/amd5536udc.h
@@ -563,6 +563,8 @@ struct udc {
563 u16 cur_alt; 563 u16 cur_alt;
564}; 564};
565 565
566#define to_amd5536_udc(g) (container_of((g), struct udc, gadget))
567
566/* setup request data */ 568/* setup request data */
567union udc_setup_data { 569union udc_setup_data {
568 u32 data[2]; 570 u32 data[2];