[PATCH v2 2/2] usb: phy: rename otg.c to phy.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The operations in current otg.c are actually for USB PHY's.
Move it from drivers/usb/otg/ to drivers/usb/phy/

Signed-off-by: Peter Chen <peter.chen@xxxxxxxxxxxxx>
---
 drivers/usb/otg/Makefile             |    3 ---
 drivers/usb/phy/Makefile             |    3 +++
 drivers/usb/{otg/otg.c => phy/phy.c} |    2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/usb/otg/Makefile b/drivers/usb/otg/Makefile
index a844b8d..6abc453 100644
--- a/drivers/usb/otg/Makefile
+++ b/drivers/usb/otg/Makefile
@@ -5,9 +5,6 @@
 ccflags-$(CONFIG_USB_DEBUG)		:= -DDEBUG
 ccflags-$(CONFIG_USB_GADGET_DEBUG)	+= -DDEBUG
 
-# infrastructure
-obj-$(CONFIG_USB_OTG_UTILS)	+= otg.o
-
 # transceiver drivers
 obj-$(CONFIG_USB_GPIO_VBUS)	+= gpio_vbus.o
 obj-$(CONFIG_ISP1301_OMAP)	+= isp1301_omap.o
diff --git a/drivers/usb/phy/Makefile b/drivers/usb/phy/Makefile
index b069f29..3afb9f0 100644
--- a/drivers/usb/phy/Makefile
+++ b/drivers/usb/phy/Makefile
@@ -4,6 +4,9 @@
 
 ccflags-$(CONFIG_USB_DEBUG) := -DDEBUG
 
+# infrastructure
+obj-$(CONFIG_USB_OTG_UTILS)	+= phy.o
+
 obj-$(CONFIG_OMAP_USB2)			+= omap-usb2.o
 obj-$(CONFIG_USB_ISP1301)		+= isp1301.o
 obj-$(CONFIG_MV_U3D_PHY)		+= mv_u3d_phy.o
diff --git a/drivers/usb/otg/otg.c b/drivers/usb/phy/phy.c
similarity index 99%
rename from drivers/usb/otg/otg.c
rename to drivers/usb/phy/phy.c
index 4a91b18..c2a5a70 100644
--- a/drivers/usb/otg/otg.c
+++ b/drivers/usb/phy/phy.c
@@ -1,5 +1,5 @@
 /*
- * otg.c -- USB OTG utility code
+ * phy.c -- USB PHY utility code
  *
  * Copyright (C) 2004 Texas Instruments
  *
-- 
1.7.0.4


--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux