mirror of
https://xff.cz/git/u-boot/
synced 2025-11-01 19:05:51 +01:00
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>
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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__ */
|
||||
@@ -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>
|
||||
|
||||
/***********************************************************/
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user