diff options
Diffstat (limited to 'drivers/usb/gadget/amd5536udc.h')
-rw-r--r-- | drivers/usb/gadget/amd5536udc.h | 2 |
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 */ |
567 | union udc_setup_data { | 569 | union udc_setup_data { |
568 | u32 data[2]; | 570 | u32 data[2]; |