Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5653668c authored by Anton Tikhomirov's avatar Anton Tikhomirov Committed by Felipe Balbi
Browse files

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: default avatarAnton Tikhomirov <av.tikhomirov@samsung.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 16e569e9
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -15,7 +15,7 @@
 * 675 Mass Ave, Cambridge, MA 02139, USA.
 * 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/usb/otg.h>
#include <linux/ioctl.h>
#include <linux/ioctl.h>


+1 −2
Original line number Original line Diff line number Diff line
@@ -28,8 +28,7 @@
#include <linux/usb.h>
#include <linux/usb.h>
#include <linux/usb/gadget.h>
#include <linux/usb/gadget.h>
#include <linux/usb/otg.h>
#include <linux/usb/otg.h>

#include <linux/usb/otg-fsm.h>
#include "phy-fsm-usb.h"


/* Change USB protocol when there is a protocol change */
/* Change USB protocol when there is a protocol change */
static int otg_set_protocol(struct otg_fsm *fsm, int protocol)
static int otg_set_protocol(struct otg_fsm *fsm, int protocol)
+0 −0

File moved.