diff options
author | Felipe Balbi <balbi@ti.com> | 2013-01-24 10:36:33 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-01-24 21:11:28 +0200 |
commit | 8de94fffad1b471550645965888d7aaae0680cef (patch) | |
tree | 00000da7af4ec71b11c7d1c7886f4ae59d5a1e1d /drivers/usb/gadget/fusb300_udc.h | |
parent | 45005f6927d98d9a3364287a6e9faca7121cc8f1 (diff) | |
download | op-kernel-dev-8de94fffad1b471550645965888d7aaae0680cef.zip op-kernel-dev-8de94fffad1b471550645965888d7aaae0680cef.tar.gz |
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 542cd83..6ba444a 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 |