summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2015-12-04 02:32:22 +0100
committerMarek Vasut <marex@denx.de>2015-12-17 21:54:40 +0100
commitf4d9bd06f72ec554e01b29f710243d47f047f5bc (patch)
treec6924a3a1cf0258db4a7879d0ca79a3193f59749 /drivers/usb/gadget
parent06cb6ccd8e2e7cc1318709c6dc350a296ca9f477 (diff)
downloadu-boot-imx-f4d9bd06f72ec554e01b29f710243d47f047f5bc.zip
u-boot-imx-f4d9bd06f72ec554e01b29f710243d47f047f5bc.tar.gz
u-boot-imx-f4d9bd06f72ec554e01b29f710243d47f047f5bc.tar.bz2
usb: s3c-otg: Rename local headers to dwc2_*h
The driver is actually for the Designware DWC2 controller. This patch renames the local header files to dwc2_*h and adjusts the sources to use the new names. Signed-off-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'drivers/usb/gadget')
-rw-r--r--drivers/usb/gadget/bcm_udc_otg_phy.c2
-rw-r--r--drivers/usb/gadget/dwc2_udc_otg_priv.h (renamed from drivers/usb/gadget/s3c_udc_otg_priv.h)6
-rw-r--r--drivers/usb/gadget/dwc2_udc_otg_regs.h (renamed from drivers/usb/gadget/s3c_udc_otg_regs.h)0
-rw-r--r--drivers/usb/gadget/s3c_udc_otg.c4
-rw-r--r--drivers/usb/gadget/s3c_udc_otg_phy.c4
5 files changed, 8 insertions, 8 deletions
diff --git a/drivers/usb/gadget/bcm_udc_otg_phy.c b/drivers/usb/gadget/bcm_udc_otg_phy.c
index c58388c..10b2e13 100644
--- a/drivers/usb/gadget/bcm_udc_otg_phy.c
+++ b/drivers/usb/gadget/bcm_udc_otg_phy.c
@@ -9,7 +9,7 @@
#include <asm/io.h>
#include <asm/arch/sysmap.h>
-#include "s3c_udc_otg_priv.h"
+#include "dwc2_udc_otg_priv.h"
#include "bcm_udc_otg.h"
void otg_phy_init(struct dwc2_udc *dev)
diff --git a/drivers/usb/gadget/s3c_udc_otg_priv.h b/drivers/usb/gadget/dwc2_udc_otg_priv.h
index fb3a019..1dcb277 100644
--- a/drivers/usb/gadget/s3c_udc_otg_priv.h
+++ b/drivers/usb/gadget/dwc2_udc_otg_priv.h
@@ -5,8 +5,8 @@
* SPDX-License-Identifier: GPL-2.0+
*/
-#ifndef __S3C_UDC_OTG_PRIV__
-#define __S3C_UDC_OTG_PRIV__
+#ifndef __DWC2_UDC_OTG_PRIV__
+#define __DWC2_UDC_OTG_PRIV__
#include <asm/errno.h>
#include <linux/sizes.h>
@@ -95,4 +95,4 @@ struct dwc2_udc {
void otg_phy_init(struct dwc2_udc *dev);
void otg_phy_off(struct dwc2_udc *dev);
-#endif /* __S3C_UDC_OTG_PRIV__ */
+#endif /* __DWC2_UDC_OTG_PRIV__ */
diff --git a/drivers/usb/gadget/s3c_udc_otg_regs.h b/drivers/usb/gadget/dwc2_udc_otg_regs.h
index 57affcb..57affcb 100644
--- a/drivers/usb/gadget/s3c_udc_otg_regs.h
+++ b/drivers/usb/gadget/dwc2_udc_otg_regs.h
diff --git a/drivers/usb/gadget/s3c_udc_otg.c b/drivers/usb/gadget/s3c_udc_otg.c
index 9cb6849..0bff63f 100644
--- a/drivers/usb/gadget/s3c_udc_otg.c
+++ b/drivers/usb/gadget/s3c_udc_otg.c
@@ -32,8 +32,8 @@
#include <asm/mach-types.h>
-#include "s3c_udc_otg_regs.h"
-#include "s3c_udc_otg_priv.h"
+#include "dwc2_udc_otg_regs.h"
+#include "dwc2_udc_otg_priv.h"
#include <usb/lin_gadget_compat.h>
/***********************************************************/
diff --git a/drivers/usb/gadget/s3c_udc_otg_phy.c b/drivers/usb/gadget/s3c_udc_otg_phy.c
index a761b43..ab7515b 100644
--- a/drivers/usb/gadget/s3c_udc_otg_phy.c
+++ b/drivers/usb/gadget/s3c_udc_otg_phy.c
@@ -32,8 +32,8 @@
#include <asm/mach-types.h>
-#include "s3c_udc_otg_regs.h"
-#include "s3c_udc_otg_priv.h"
+#include "dwc2_udc_otg_regs.h"
+#include "dwc2_udc_otg_priv.h"
#include <usb/lin_gadget_compat.h>
#include <usb/s3c_udc.h>