Skip to content

Commit

Permalink
usb: common: rename phy-fsm-usb.c to usb-otg-fsm.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Peter Chen authored and Greg Kroah-Hartman committed May 27, 2014
1 parent f4cbd33 commit 1dfa91a
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
1 change: 1 addition & 0 deletions drivers/usb/common/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
#

obj-$(CONFIG_USB_COMMON) += usb-common.o
obj-$(CONFIG_USB_OTG_FSM) += usb-otg-fsm.o
File renamed without changes.
9 changes: 9 additions & 0 deletions drivers/usb/core/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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.

9 changes: 0 additions & 9 deletions drivers/usb/phy/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
#
Expand Down
1 change: 0 additions & 1 deletion drivers/usb/phy/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 1dfa91a

Please sign in to comment.