Skip to contentSkip to conversation

USB: Rename "msm72k_otg.c" to "msm_otg.c"

PATCH New Pavankumar Kondeti 1 participant 1 message Mar 4, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 USB: Rename "msm72k_otg.c" to "msm_otg.c"

This driver is used across all MSM SoCs. Hence give a generic name. All Functions and strutures are also using "msm_otg" as prefix.

---
 drivers/usb/gadget/Kconfig                  |    2 +-
 drivers/usb/host/Kconfig                    |    2 +-
 drivers/usb/otg/Kconfig                     |    2 +-
 drivers/usb/otg/Makefile                    |    2 +-
 drivers/usb/otg/{msm72k_otg.c => msm_otg.c} |    0
 include/linux/usb/msm_hsusb.h               |    2 +-
 6 files changed, 5 insertions(+), 5 deletions(-)
 rename drivers/usb/otg/{msm72k_otg.c => msm_otg.c} (100%)
drivers/usb/gadget/Kconfig +1 -1
index 99ed91c..bfde50e 100644
@@ -552,7 +552,7 @@ config USB_GADGET_CI13XXX_MSM
 	boolean "MIPS USB CI13xxx for MSM"
 	depends on ARCH_MSM
 	select USB_GADGET_DUALSPEED
-	select USB_MSM_OTG_72K
+	select USB_MSM_OTG
 	help
 	  MSM SoC has chipidea USB controller.  This driver uses
 	  ci13xxx_udc core.
drivers/usb/host/Kconfig +1 -1
index 923e5a0..849806a 100644
@@ -156,7 +156,7 @@ config USB_EHCI_MSM
 	bool "Support for MSM on-chip EHCI USB controller"
 	depends on USB_EHCI_HCD && ARCH_MSM
 	select USB_EHCI_ROOT_HUB_TT
-	select USB_MSM_OTG_72K
+	select USB_MSM_OTG
 	---help---
 	  Enables support for the USB Host controller present on the
 	  Qualcomm chipsets. Root Hub has inbuilt TT.
drivers/usb/otg/Kconfig +1 -1
index 9ffc823..ceb24fe 100644
@@ -93,7 +93,7 @@ config USB_LANGWELL_OTG
 	  To compile this driver as a module, choose M here: the
 	  module will be called langwell_otg.
 
-config USB_MSM_OTG_72K
+config USB_MSM_OTG
 	tristate "OTG support for Qualcomm on-chip USB controller"
 	depends on (USB || USB_GADGET) && ARCH_MSM
 	select USB_OTG_UTILS
drivers/usb/otg/Makefile +1 -1
index a520e71..e516894 100644
@@ -16,5 +16,5 @@ obj-$(CONFIG_TWL6030_USB)	+= twl6030-usb.o
 obj-$(CONFIG_USB_LANGWELL_OTG)	+= langwell_otg.o
 obj-$(CONFIG_NOP_USB_XCEIV)	+= nop-usb-xceiv.o
 obj-$(CONFIG_USB_ULPI)		+= ulpi.o
-obj-$(CONFIG_USB_MSM_OTG_72K)	+= msm72k_otg.o
+obj-$(CONFIG_USB_MSM_OTG)	+= msm_otg.o
 obj-$(CONFIG_AB8500_USB)	+= ab8500-usb.o
drivers/usb/otg/msm_otg.c renamed from drivers/usb/otg/msm72k_otg.c +0 -0
similarity index 100%
rename from drivers/usb/otg/msm72k_otg.c
rename to drivers/usb/otg/msm_otg.c
include/linux/usb/msm_hsusb.h +1 -1
index 3675e03..3657403 100644
@@ -55,7 +55,7 @@ enum otg_control_type {
 
 /**
  * struct msm_otg_platform_data - platform device data
- *              for msm72k_otg driver.
+ *              for msm_otg driver.
  * @phy_init_seq: PHY configuration sequence. val, reg pairs
  *              terminated by -1.
  * @vbus_power: VBUS power on/off routine.
Signature · 7 lines
Sent by a consultant of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.

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