[PATCH] usb: fsl: fix typo FLS_USB2_WORKAROUND_ENGCM09152

From: Lijun Pan
Date: Tue Feb 09 2016 - 18:27:21 EST


FLS_USB2_WORKAROUND_ENGCM09152 is a typo.
It should be FSL_USB2_WORKAROUND_ENGCM09152 since
FSL is the abbreviation of Freescale.

Signed-off-by: Lijun Pan <Lijun.Pan@xxxxxxxxxxxxx>
---
arch/arm/mach-imx/mach-mx35_3ds.c | 2 +-
arch/arm/mach-imx/mach-vpr200.c | 2 +-
drivers/usb/gadget/udc/fsl_mxc_udc.c | 2 +-
include/linux/fsl_devices.h | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/arch/arm/mach-imx/mach-mx35_3ds.c b/arch/arm/mach-imx/mach-mx35_3ds.c
index 7e315f0..4d4403e 100644
--- a/arch/arm/mach-imx/mach-mx35_3ds.c
+++ b/arch/arm/mach-imx/mach-mx35_3ds.c
@@ -507,7 +507,7 @@ static int mx35_3ds_otg_init(struct platform_device *pdev)
static const struct fsl_usb2_platform_data usb_otg_pdata __initconst = {
.operating_mode = FSL_USB2_DR_DEVICE,
.phy_mode = FSL_USB2_PHY_UTMI_WIDE,
- .workaround = FLS_USB2_WORKAROUND_ENGCM09152,
+ .workaround = FSL_USB2_WORKAROUND_ENGCM09152,
/*
* ENGCM09152 also requires a hardware change.
* Please check the MX35 Chip Errata document for details.
diff --git a/arch/arm/mach-imx/mach-vpr200.c b/arch/arm/mach-imx/mach-vpr200.c
index 27a8f7e..9104ebc 100644
--- a/arch/arm/mach-imx/mach-vpr200.c
+++ b/arch/arm/mach-imx/mach-vpr200.c
@@ -238,7 +238,7 @@ static const iomux_v3_cfg_t vpr200_pads[] __initconst = {
static const struct fsl_usb2_platform_data otg_device_pdata __initconst = {
.operating_mode = FSL_USB2_DR_DEVICE,
.phy_mode = FSL_USB2_PHY_UTMI,
- .workaround = FLS_USB2_WORKAROUND_ENGCM09152,
+ .workaround = FSL_USB2_WORKAROUND_ENGCM09152,
};

static int vpr200_usbh_init(struct platform_device *pdev)
diff --git a/drivers/usb/gadget/udc/fsl_mxc_udc.c b/drivers/usb/gadget/udc/fsl_mxc_udc.c
index f16e149..af502bd 100644
--- a/drivers/usb/gadget/udc/fsl_mxc_udc.c
+++ b/drivers/usb/gadget/udc/fsl_mxc_udc.c
@@ -86,7 +86,7 @@ int fsl_udc_clk_finalize(struct platform_device *pdev)
int ret = 0;

/* workaround ENGcm09152 for i.MX35 */
- if (pdata->workaround & FLS_USB2_WORKAROUND_ENGCM09152) {
+ if (pdata->workaround & FSL_USB2_WORKAROUND_ENGCM09152) {
unsigned int v;
struct resource *res = platform_get_resource
(pdev, IORESOURCE_MEM, 0);
diff --git a/include/linux/fsl_devices.h b/include/linux/fsl_devices.h
index f291291..8e08089 100644
--- a/include/linux/fsl_devices.h
+++ b/include/linux/fsl_devices.h
@@ -119,7 +119,7 @@ struct fsl_usb2_platform_data {
#define FSL_USB2_PORT0_ENABLED 0x00000001
#define FSL_USB2_PORT1_ENABLED 0x00000002

-#define FLS_USB2_WORKAROUND_ENGCM09152 (1 << 0)
+#define FSL_USB2_WORKAROUND_ENGCM09152 (1 << 0)

struct spi_device;

--
1.7.9.5