From: Anton Tikhomirov Date: Tue, 26 Nov 2013 02:47:02 +0000 (+0900) Subject: usb: phy: move OTG FSM header X-Git-Tag: v3.14-rc1~148^2~90^2~91 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5653668c9585441926dd2575791f6b5bb84bb254;p=thirdparty%2Fkernel%2Flinux.git 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 Signed-off-by: Felipe Balbi --- diff --git a/drivers/usb/phy/phy-fsl-usb.h b/drivers/usb/phy/phy-fsl-usb.h index 7365170a2f23e..5986c96354dfa 100644 --- a/drivers/usb/phy/phy-fsl-usb.h +++ b/drivers/usb/phy/phy-fsl-usb.h @@ -15,7 +15,7 @@ * 675 Mass Ave, Cambridge, MA 02139, USA. */ -#include "phy-fsm-usb.h" +#include #include #include diff --git a/drivers/usb/phy/phy-fsm-usb.c b/drivers/usb/phy/phy-fsm-usb.c index 2817b04a6c473..62238726fb1cc 100644 --- a/drivers/usb/phy/phy-fsm-usb.c +++ b/drivers/usb/phy/phy-fsm-usb.c @@ -28,8 +28,7 @@ #include #include #include - -#include "phy-fsm-usb.h" +#include /* Change USB protocol when there is a protocol change */ static int otg_set_protocol(struct otg_fsm *fsm, int protocol) diff --git a/drivers/usb/phy/phy-fsm-usb.h b/include/linux/usb/otg-fsm.h similarity index 100% rename from drivers/usb/phy/phy-fsm-usb.h rename to include/linux/usb/otg-fsm.h