Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Anton Tikhomirov and committed by
Felipe Balbi
5653668c 16e569e9

+2 -3
+1 -1
drivers/usb/phy/phy-fsl-usb.h
··· 15 15 * 675 Mass Ave, Cambridge, MA 02139, USA. 16 16 */ 17 17 18 - #include "phy-fsm-usb.h" 18 + #include <linux/usb/otg-fsm.h> 19 19 #include <linux/usb/otg.h> 20 20 #include <linux/ioctl.h> 21 21
+1 -2
drivers/usb/phy/phy-fsm-usb.c
··· 28 28 #include <linux/usb.h> 29 29 #include <linux/usb/gadget.h> 30 30 #include <linux/usb/otg.h> 31 - 32 - #include "phy-fsm-usb.h" 31 + #include <linux/usb/otg-fsm.h> 33 32 34 33 /* Change USB protocol when there is a protocol change */ 35 34 static int otg_set_protocol(struct otg_fsm *fsm, int protocol)
drivers/usb/phy/phy-fsm-usb.h include/linux/usb/otg-fsm.h