aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx3/mach-pcm037.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-mx3/mach-pcm037.c')
-rw-r--r--arch/arm/mach-mx3/mach-pcm037.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/arch/arm/mach-mx3/mach-pcm037.c b/arch/arm/mach-mx3/mach-pcm037.c
index 20f7f9485dc6..2d297436820b 100644
--- a/arch/arm/mach-mx3/mach-pcm037.c
+++ b/arch/arm/mach-mx3/mach-pcm037.c
@@ -44,7 +44,6 @@
44#include <mach/ipu.h> 44#include <mach/ipu.h>
45#include <mach/mx3_camera.h> 45#include <mach/mx3_camera.h>
46#include <mach/mx3fb.h> 46#include <mach/mx3fb.h>
47#include <mach/mxc_ehci.h>
48#include <mach/ulpi.h> 47#include <mach/ulpi.h>
49 48
50#include "devices-imx31.h" 49#include "devices-imx31.h"
@@ -538,12 +537,12 @@ static struct platform_device pcm970_sja1000 = {
538}; 537};
539 538
540#if defined(CONFIG_USB_ULPI) 539#if defined(CONFIG_USB_ULPI)
541static struct mxc_usbh_platform_data otg_pdata = { 540static struct mxc_usbh_platform_data otg_pdata __initdata = {
542 .portsc = MXC_EHCI_MODE_ULPI, 541 .portsc = MXC_EHCI_MODE_ULPI,
543 .flags = MXC_EHCI_INTERFACE_DIFF_UNI, 542 .flags = MXC_EHCI_INTERFACE_DIFF_UNI,
544}; 543};
545 544
546static struct mxc_usbh_platform_data usbh2_pdata = { 545static struct mxc_usbh_platform_data usbh2_pdata __initdata = {
547 .portsc = MXC_EHCI_MODE_ULPI, 546 .portsc = MXC_EHCI_MODE_ULPI,
548 .flags = MXC_EHCI_INTERFACE_DIFF_UNI, 547 .flags = MXC_EHCI_INTERFACE_DIFF_UNI,
549}; 548};
@@ -654,13 +653,13 @@ static void __init mxc_board_init(void)
654 otg_pdata.otg = otg_ulpi_create(&mxc_ulpi_access_ops, 653 otg_pdata.otg = otg_ulpi_create(&mxc_ulpi_access_ops,
655 ULPI_OTG_DRVVBUS | ULPI_OTG_DRVVBUS_EXT); 654 ULPI_OTG_DRVVBUS | ULPI_OTG_DRVVBUS_EXT);
656 655
657 mxc_register_device(&mxc_otg_host, &otg_pdata); 656 imx31_add_mxc_ehci_otg(&otg_pdata);
658 } 657 }
659 658
660 usbh2_pdata.otg = otg_ulpi_create(&mxc_ulpi_access_ops, 659 usbh2_pdata.otg = otg_ulpi_create(&mxc_ulpi_access_ops,
661 ULPI_OTG_DRVVBUS | ULPI_OTG_DRVVBUS_EXT); 660 ULPI_OTG_DRVVBUS | ULPI_OTG_DRVVBUS_EXT);
662 661
663 mxc_register_device(&mxc_usbh2, &usbh2_pdata); 662 imx31_add_mxc_ehci_hs(2, &usbh2_pdata);
664#endif 663#endif
665 if (!otg_mode_host) 664 if (!otg_mode_host)
666 imx31_add_fsl_usb2_udc(&otg_device_pdata); 665 imx31_add_fsl_usb2_udc(&otg_device_pdata);