]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
usb: common: rename phy-fsm-usb.c to usb-otg-fsm.c
authorPeter Chen <peter.chen@freescale.com>
Tue, 29 Apr 2014 00:35:59 +0000 (08:35 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 May 2014 22:29:44 +0000 (15:29 -0700)
Since usb otg fsm implementation is not related to usb phy.
We move it from usb/phy/ to usb/common/, and rename it to
reflect its real meaning.

Cc: Felipe Balbi <balbi@ti.com>
Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/common/Makefile
drivers/usb/common/usb-otg-fsm.c [moved from drivers/usb/phy/phy-fsm-usb.c with 100% similarity]
drivers/usb/core/Kconfig
drivers/usb/phy/Kconfig
drivers/usb/phy/Makefile

index 9b320d1a11fdbf501f86cb4e58e7213bac37e01d..752646167e1e469dffaa2f47604611b70aad9c80 100644 (file)
@@ -3,3 +3,4 @@
 #
 
 obj-$(CONFIG_USB_COMMON) += usb-common.o
+obj-$(CONFIG_USB_OTG_FSM) += usb-otg-fsm.o
index 9519878587f666e3125cf5b5a89409435c3f3de4..1060657ca1b01c77acf57abae20e6037fc2cb90a 100644 (file)
@@ -81,3 +81,12 @@ config USB_OTG_BLACKLIST_HUB
          and software costs by not supporting external hubs.  So
          are "Embedded Hosts" that don't offer OTG support.
 
+config USB_OTG_FSM
+       tristate "USB 2.0 OTG FSM implementation"
+       depends on USB
+       select USB_OTG
+       select USB_PHY
+       help
+         Implements OTG Finite State Machine as specified in On-The-Go
+         and Embedded Host Supplement to the USB Revision 2.0 Specification.
+
index 4c35d6176735193fd9269a90c8092047aa7f9cc6..c9950becb7e07463d40ff89a0cbfb1ab8cc30854 100644 (file)
@@ -6,15 +6,6 @@ menu "USB Physical Layer drivers"
 config USB_PHY
        def_bool n
 
-config USB_OTG_FSM
-       tristate "USB 2.0 OTG FSM implementation"
-       depends on USB
-       select USB_OTG
-       select USB_PHY
-       help
-         Implements OTG Final State Machine as specified in On-The-Go
-         and Embedded Host Supplement to the USB Revision 2.0 Specification.
-
 #
 # USB Transceiver Drivers
 #
index a2d05690d9255c440b8d3cf5e273d5bf1cd9966d..24a91332d4ad4dff7076f1e7ae98864626349f36 100644 (file)
@@ -3,7 +3,6 @@
 #
 obj-$(CONFIG_USB_PHY)                  += phy.o
 obj-$(CONFIG_OF)                       += of.o
-obj-$(CONFIG_USB_OTG_FSM)              += phy-fsm-usb.o
 
 # transceiver drivers, keep the list sorted