diff options
Diffstat (limited to 'arch/arm/mach-mx3/mach-pcm043.c')
-rw-r--r-- | arch/arm/mach-mx3/mach-pcm043.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/arm/mach-mx3/mach-pcm043.c b/arch/arm/mach-mx3/mach-pcm043.c index 4e1de87995d4..78159f073a41 100644 --- a/arch/arm/mach-mx3/mach-pcm043.c +++ b/arch/arm/mach-mx3/mach-pcm043.c | |||
@@ -27,7 +27,6 @@ | |||
27 | #include <linux/i2c/at24.h> | 27 | #include <linux/i2c/at24.h> |
28 | #include <linux/usb/otg.h> | 28 | #include <linux/usb/otg.h> |
29 | #include <linux/usb/ulpi.h> | 29 | #include <linux/usb/ulpi.h> |
30 | #include <linux/fsl_devices.h> | ||
31 | 30 | ||
32 | #include <asm/mach-types.h> | 31 | #include <asm/mach-types.h> |
33 | #include <asm/mach/arch.h> | 32 | #include <asm/mach/arch.h> |
@@ -323,7 +322,7 @@ static struct mxc_usbh_platform_data usbh1_pdata = { | |||
323 | }; | 322 | }; |
324 | #endif | 323 | #endif |
325 | 324 | ||
326 | static struct fsl_usb2_platform_data otg_device_pdata = { | 325 | static const struct fsl_usb2_platform_data otg_device_pdata __initconst = { |
327 | .operating_mode = FSL_USB2_DR_DEVICE, | 326 | .operating_mode = FSL_USB2_DR_DEVICE, |
328 | .phy_mode = FSL_USB2_PHY_UTMI, | 327 | .phy_mode = FSL_USB2_PHY_UTMI, |
329 | }; | 328 | }; |
@@ -392,7 +391,7 @@ static void __init mxc_board_init(void) | |||
392 | mxc_register_device(&mxc_usbh1, &usbh1_pdata); | 391 | mxc_register_device(&mxc_usbh1, &usbh1_pdata); |
393 | #endif | 392 | #endif |
394 | if (!otg_mode_host) | 393 | if (!otg_mode_host) |
395 | mxc_register_device(&mxc_otg_udc_device, &otg_device_pdata); | 394 | imx35_add_fsl_usb2_udc(&otg_device_pdata); |
396 | 395 | ||
397 | imx35_add_flexcan1(NULL); | 396 | imx35_add_flexcan1(NULL); |
398 | imx35_add_esdhc(0, NULL); | 397 | imx35_add_esdhc(0, NULL); |