aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx5/mx51_efika.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-mx5/mx51_efika.c')
-rw-r--r--arch/arm/mach-mx5/mx51_efika.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-mx5/mx51_efika.c b/arch/arm/mach-mx5/mx51_efika.c
index 74991c913bf6..51a67fc7f0ef 100644
--- a/arch/arm/mach-mx5/mx51_efika.c
+++ b/arch/arm/mach-mx5/mx51_efika.c
@@ -218,12 +218,12 @@ static void __init mx51_efika_usb(void)
218 msleep(1); 218 msleep(1);
219 gpio_set_value(EFIKA_USB_PHY_RESET, 1); 219 gpio_set_value(EFIKA_USB_PHY_RESET, 1);
220 220
221 usbh1_config.otg = otg_ulpi_create(&mxc_ulpi_access_ops, 221 usbh1_config.otg = imx_otg_ulpi_create(ULPI_OTG_DRVVBUS |
222 ULPI_OTG_DRVVBUS | ULPI_OTG_DRVVBUS_EXT | 222 ULPI_OTG_DRVVBUS_EXT | ULPI_OTG_EXTVBUSIND);
223 ULPI_OTG_EXTVBUSIND);
224 223
225 mxc_register_device(&mxc_usbdr_host_device, &dr_utmi_config); 224 mxc_register_device(&mxc_usbdr_host_device, &dr_utmi_config);
226 mxc_register_device(&mxc_usbh1_device, &usbh1_config); 225 if (usbh1_config.otg)
226 mxc_register_device(&mxc_usbh1_device, &usbh1_config);
227} 227}
228 228
229static struct mtd_partition mx51_efika_spi_nor_partitions[] = { 229static struct mtd_partition mx51_efika_spi_nor_partitions[] = {