summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget/mv_udc.h
diff options
context:
space:
mode:
authorNeil Zhang <zhangwm@marvell.com>2011-11-30 09:57:13 +0800
committerFelipe Balbi <balbi@ti.com>2011-12-12 11:45:22 +0200
commit487d54d172b3afd3d2bf124b24eaf7f7e7b8a668 (patch)
treea2c5665ce64d902afea5508db90ab8de3093fe7d /drivers/usb/gadget/mv_udc.h
parent9823a52539adce658f2414e33f2838b896ea4971 (diff)
downloadlinux-487d54d172b3afd3d2bf124b24eaf7f7e7b8a668.tar.gz
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.h2
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*/