summaryrefslogtreecommitdiffstats
path: root/drivers/usb/phy/phy-fsm-usb.c
diff options
context:
space:
mode:
authorAnton Tikhomirov <av.tikhomirov@samsung.com>2013-11-26 03:47:02 +0100
committerFelipe Balbi <balbi@ti.com>2013-11-26 17:58:18 +0100
commit5653668c9585441926dd2575791f6b5bb84bb254 (patch)
tree8833d43c98302819339350807018b1abf85e09d0 /drivers/usb/phy/phy-fsm-usb.c
parentusb: phy: replace spinlock with mutex in OTG FSM (diff)
downloadlinux-5653668c9585441926dd2575791f6b5bb84bb254.tar.xz
linux-5653668c9585441926dd2575791f6b5bb84bb254.zip
usb: phy: move OTG FSM header
Other USB drivers may want to use OTG final state machine implementation, so make this header available for them. Signed-off-by: Anton Tikhomirov <av.tikhomirov@samsung.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/phy/phy-fsm-usb.c')
-rw-r--r--drivers/usb/phy/phy-fsm-usb.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/usb/phy/phy-fsm-usb.c b/drivers/usb/phy/phy-fsm-usb.c
index 2817b04a6c47..62238726fb1c 100644
--- a/drivers/usb/phy/phy-fsm-usb.c
+++ b/drivers/usb/phy/phy-fsm-usb.c
@@ -28,8 +28,7 @@
#include <linux/usb.h>
#include <linux/usb/gadget.h>
#include <linux/usb/otg.h>
-
-#include "phy-fsm-usb.h"
+#include <linux/usb/otg-fsm.h>
/* Change USB protocol when there is a protocol change */
static int otg_set_protocol(struct otg_fsm *fsm, int protocol)