summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLi Jun <b47624@freescale.com>2014-07-28 13:01:41 +0800
committerLi Jun <B47624@freescale.com>2014-09-30 10:12:45 +0800
commit59e9fba9535201234fd89cf27b9b8243a56ff000 (patch)
tree86cfe84d0dbe94a804738d2f3429b2d1e98a557e /include
parent520cac9e4fe938887dd45b5b4df6c8e35e125a59 (diff)
MLK-9617-3 usb: otg: add otg_fsm pointer in usb_otg structure
This patch adds otg_fsm pointer in usb_otg structure, then we can access otg_fsm through usb_otg. Acked-by: Peter Chen <peter.chen@freescale.com> Signed-off-by: Li Jun <b47624@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/usb/otg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/usb/otg.h b/include/linux/usb/otg.h
index 154332b7c8c0..64f9de51ae4d 100644
--- a/include/linux/usb/otg.h
+++ b/include/linux/usb/otg.h
@@ -14,6 +14,7 @@
struct usb_otg {
u8 default_a;
+ struct otg_fsm *fsm;
struct usb_phy *phy;
struct usb_bus *host;
struct usb_gadget *gadget;