提交 1dfa91aa 编写于 作者: P Peter Chen 提交者: Greg Kroah-Hartman

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: NPeter Chen <peter.chen@freescale.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 f4cbd33f
...@@ -3,3 +3,4 @@ ...@@ -3,3 +3,4 @@
# #
obj-$(CONFIG_USB_COMMON) += usb-common.o obj-$(CONFIG_USB_COMMON) += usb-common.o
obj-$(CONFIG_USB_OTG_FSM) += usb-otg-fsm.o
...@@ -81,3 +81,12 @@ config USB_OTG_BLACKLIST_HUB ...@@ -81,3 +81,12 @@ config USB_OTG_BLACKLIST_HUB
and software costs by not supporting external hubs. So and software costs by not supporting external hubs. So
are "Embedded Hosts" that don't offer OTG support. 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.
...@@ -6,15 +6,6 @@ menu "USB Physical Layer drivers" ...@@ -6,15 +6,6 @@ menu "USB Physical Layer drivers"
config USB_PHY config USB_PHY
def_bool n 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 # USB Transceiver Drivers
# #
......
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
# #
obj-$(CONFIG_USB_PHY) += phy.o obj-$(CONFIG_USB_PHY) += phy.o
obj-$(CONFIG_OF) += of.o obj-$(CONFIG_OF) += of.o
obj-$(CONFIG_USB_OTG_FSM) += phy-fsm-usb.o
# transceiver drivers, keep the list sorted # transceiver drivers, keep the list sorted
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册