diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2010-08-18 11:56:44 -0400 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-09-27 06:52:57 -0400 |
commit | 79a11b0ba4a4e2f042b143e6ac0813d6fab90626 (patch) | |
tree | 1145a4df6b7732f16508267393a3a67f28c11543 | |
parent | 81aa17207b3c50f32be31a1be949e98c660da5f1 (diff) |
ARM: mx3/mx35_3ds: rename usb otg platform data variable name
Rename the variable holding the usb otg platform data to avoid clash
with usb host platform data variable.
usb_pdata -> usb_otg_pdata
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
-rw-r--r-- | arch/arm/mach-mx3/mach-mx35_3ds.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-mx3/mach-mx35_3ds.c b/arch/arm/mach-mx3/mach-mx35_3ds.c index b3629e735606..ae0f17cc8d73 100644 --- a/arch/arm/mach-mx3/mach-mx35_3ds.c +++ b/arch/arm/mach-mx3/mach-mx35_3ds.c | |||
@@ -108,7 +108,7 @@ static struct pad_desc mx35pdk_pads[] = { | |||
108 | }; | 108 | }; |
109 | 109 | ||
110 | /* OTG config */ | 110 | /* OTG config */ |
111 | static struct fsl_usb2_platform_data usb_pdata = { | 111 | static struct fsl_usb2_platform_data usb_otg_pdata = { |
112 | .operating_mode = FSL_USB2_DR_DEVICE, | 112 | .operating_mode = FSL_USB2_DR_DEVICE, |
113 | .phy_mode = FSL_USB2_PHY_UTMI_WIDE, | 113 | .phy_mode = FSL_USB2_PHY_UTMI_WIDE, |
114 | }; | 114 | }; |
@@ -124,7 +124,7 @@ static void __init mxc_board_init(void) | |||
124 | 124 | ||
125 | imx35_add_imx_uart0(&uart_pdata); | 125 | imx35_add_imx_uart0(&uart_pdata); |
126 | 126 | ||
127 | mxc_register_device(&mxc_otg_udc_device, &usb_pdata); | 127 | mxc_register_device(&mxc_otg_udc_device, &usb_otg_pdata); |
128 | 128 | ||
129 | imx35_add_mxc_nand(&mx35pdk_nand_board_info); | 129 | imx35_add_mxc_nand(&mx35pdk_nand_board_info); |
130 | } | 130 | } |