aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorPeter Chen <peter.chen@freescale.com>2014-04-28 20:35:59 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-05-27 18:29:44 -0400
commit1dfa91aa5ba9650acf59b6310d8e78a162d56410 (patch)
tree4778514fc4d2f70ac7348bdaf1f8d1a0f0726fcd /drivers
parentf4cbd33fd5f0587910fa9db403a1b42f1cabf820 (diff)
usb: common: rename phy-fsm-usb.c to usb-otg-fsm.c
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/usb/common/Makefile1
-rw-r--r--drivers/usb/common/usb-otg-fsm.c (renamed from drivers/usb/phy/phy-fsm-usb.c)0
-rw-r--r--drivers/usb/core/Kconfig9
-rw-r--r--drivers/usb/phy/Kconfig9
-rw-r--r--drivers/usb/phy/Makefile1
5 files changed, 10 insertions, 10 deletions
diff --git a/drivers/usb/common/Makefile b/drivers/usb/common/Makefile
index 9b320d1a11fd..752646167e1e 100644
--- a/drivers/usb/common/Makefile
+++ b/drivers/usb/common/Makefile
@@ -3,3 +3,4 @@
3# 3#
4 4
5obj-$(CONFIG_USB_COMMON) += usb-common.o 5obj-$(CONFIG_USB_COMMON) += usb-common.o
6obj-$(CONFIG_USB_OTG_FSM) += usb-otg-fsm.o
diff --git a/drivers/usb/phy/phy-fsm-usb.c b/drivers/usb/common/usb-otg-fsm.c
index 98e8340a5bb1..98e8340a5bb1 100644
--- a/drivers/usb/phy/phy-fsm-usb.c
+++ b/drivers/usb/common/usb-otg-fsm.c
diff --git a/drivers/usb/core/Kconfig b/drivers/usb/core/Kconfig
index 9519878587f6..1060657ca1b0 100644
--- a/drivers/usb/core/Kconfig
+++ b/drivers/usb/core/Kconfig
@@ -81,3 +81,12 @@ config USB_OTG_BLACKLIST_HUB
81 and software costs by not supporting external hubs. So 81 and software costs by not supporting external hubs. So
82 are "Embedded Hosts" that don't offer OTG support. 82 are "Embedded Hosts" that don't offer OTG support.
83 83
84config USB_OTG_FSM
85 tristate "USB 2.0 OTG FSM implementation"
86 depends on USB
87 select USB_OTG
88 select USB_PHY
89 help
90 Implements OTG Finite State Machine as specified in On-The-Go
91 and Embedded Host Supplement to the USB Revision 2.0 Specification.
92
diff --git a/drivers/usb/phy/Kconfig b/drivers/usb/phy/Kconfig
index 4c35d6176735..c9950becb7e0 100644
--- a/drivers/usb/phy/Kconfig
+++ b/drivers/usb/phy/Kconfig
@@ -6,15 +6,6 @@ menu "USB Physical Layer drivers"
6config USB_PHY 6config USB_PHY
7 def_bool n 7 def_bool n
8 8
9config USB_OTG_FSM
10 tristate "USB 2.0 OTG FSM implementation"
11 depends on USB
12 select USB_OTG
13 select USB_PHY
14 help
15 Implements OTG Final State Machine as specified in On-The-Go
16 and Embedded Host Supplement to the USB Revision 2.0 Specification.
17
18# 9#
19# USB Transceiver Drivers 10# USB Transceiver Drivers
20# 11#
diff --git a/drivers/usb/phy/Makefile b/drivers/usb/phy/Makefile
index a2d05690d925..24a91332d4ad 100644
--- a/drivers/usb/phy/Makefile
+++ b/drivers/usb/phy/Makefile
@@ -3,7 +3,6 @@
3# 3#
4obj-$(CONFIG_USB_PHY) += phy.o 4obj-$(CONFIG_USB_PHY) += phy.o
5obj-$(CONFIG_OF) += of.o 5obj-$(CONFIG_OF) += of.o
6obj-$(CONFIG_USB_OTG_FSM) += phy-fsm-usb.o
7 6
8# transceiver drivers, keep the list sorted 7# transceiver drivers, keep the list sorted
9 8