diff options
author | Neil Zhang <zhangwm@marvell.com> | 2011-11-30 02:57:13 +0100 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2011-12-12 10:45:22 +0100 |
commit | 487d54d172b3afd3d2bf124b24eaf7f7e7b8a668 (patch) | |
tree | a2c5665ce64d902afea5508db90ab8de3093fe7d /drivers/usb/gadget/mv_udc.h | |
parent | usb: gadget: Use kcalloc instead of kzalloc to allocate array (diff) | |
download | linux-487d54d172b3afd3d2bf124b24eaf7f7e7b8a668.tar.xz linux-487d54d172b3afd3d2bf124b24eaf7f7e7b8a668.zip |
usb: gadget: mv_udc: add otg relative code
Add otg relative code, make it possible to switch between host and
device.
Signed-off-by: Neil Zhang <zhangwm@marvell.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/mv_udc.h')
-rw-r--r-- | drivers/usb/gadget/mv_udc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/gadget/mv_udc.h b/drivers/usb/gadget/mv_udc.h index daa75c12f336..b2c36ee3c82c 100644 --- a/drivers/usb/gadget/mv_udc.h +++ b/drivers/usb/gadget/mv_udc.h @@ -216,6 +216,8 @@ struct mv_udc { struct work_struct vbus_work; struct workqueue_struct *qwork; + struct otg_transceiver *transceiver; + struct mv_usb_platform_data *pdata; /* some SOC has mutiple clock sources for USB*/ |