diff options
author | Felipe Balbi <balbi@ti.com> | 2013-01-24 12:36:33 +0400 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-01-24 23:11:28 +0400 |
commit | 8de94fffad1b471550645965888d7aaae0680cef (patch) | |
tree | 00000da7af4ec71b11c7d1c7886f4ae59d5a1e1d /drivers/usb/gadget/fusb300_udc.h | |
parent | 45005f6927d98d9a3364287a6e9faca7121cc8f1 (diff) | |
download | linux-8de94fffad1b471550645965888d7aaae0680cef.tar.xz |
usb: gadget: fusb300_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/fusb300_udc.h')
-rw-r--r-- | drivers/usb/gadget/fusb300_udc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/gadget/fusb300_udc.h b/drivers/usb/gadget/fusb300_udc.h index 542cd83cc806..6ba444ae8dd5 100644 --- a/drivers/usb/gadget/fusb300_udc.h +++ b/drivers/usb/gadget/fusb300_udc.h @@ -673,4 +673,6 @@ struct fusb300 { u8 reenum; /* if re-enumeration */ }; +#define to_fusb300(g) (container_of((g), struct fusb300, gadget)) + #endif |