提交 79a11b0b 编写于 作者: M Marc Kleine-Budde 提交者: Uwe Kleine-König

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: NMarc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: NSascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: NUwe Kleine-König <u.kleine-koenig@pengutronix.de>
上级 81aa1720
...@@ -108,7 +108,7 @@ static struct pad_desc mx35pdk_pads[] = { ...@@ -108,7 +108,7 @@ static struct pad_desc mx35pdk_pads[] = {
}; };
/* OTG config */ /* OTG config */
static struct fsl_usb2_platform_data usb_pdata = { static struct fsl_usb2_platform_data usb_otg_pdata = {
.operating_mode = FSL_USB2_DR_DEVICE, .operating_mode = FSL_USB2_DR_DEVICE,
.phy_mode = FSL_USB2_PHY_UTMI_WIDE, .phy_mode = FSL_USB2_PHY_UTMI_WIDE,
}; };
...@@ -124,7 +124,7 @@ static void __init mxc_board_init(void) ...@@ -124,7 +124,7 @@ static void __init mxc_board_init(void)
imx35_add_imx_uart0(&uart_pdata); imx35_add_imx_uart0(&uart_pdata);
mxc_register_device(&mxc_otg_udc_device, &usb_pdata); mxc_register_device(&mxc_otg_udc_device, &usb_otg_pdata);
imx35_add_mxc_nand(&mx35pdk_nand_board_info); imx35_add_mxc_nand(&mx35pdk_nand_board_info);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册