usb: phy: move OTG FSM header
authorAnton Tikhomirov <av.tikhomirov@samsung.com>
Tue, 26 Nov 2013 02:47:02 +0000 (11:47 +0900)
committerFelipe Balbi <balbi@ti.com>
Tue, 26 Nov 2013 16:58:18 +0000 (10:58 -0600)
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>
drivers/usb/phy/phy-fsl-usb.h
drivers/usb/phy/phy-fsm-usb.c
include/linux/usb/otg-fsm.h [moved from drivers/usb/phy/phy-fsm-usb.h with 100% similarity]

index 7365170..5986c96 100644 (file)
@@ -15,7 +15,7 @@
  * 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
-#include "phy-fsm-usb.h"
+#include <linux/usb/otg-fsm.h>
 #include <linux/usb/otg.h>
 #include <linux/ioctl.h>
 
index 2817b04..6223872 100644 (file)
@@ -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)