diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-tegra/board-ventana.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/arch/arm/mach-tegra/board-ventana.c b/arch/arm/mach-tegra/board-ventana.c index 48644d36a87d..8b0ecd915e11 100644 --- a/arch/arm/mach-tegra/board-ventana.c +++ b/arch/arm/mach-tegra/board-ventana.c @@ -600,13 +600,9 @@ static struct platform_device tegra_camera = { }; static struct platform_device *ventana_devices[] __initdata = { - &tegra_usb_fsg_device, - &androidusb_device, &tegra_uartb_device, &tegra_uartc_device, &pmu_device, - &tegra_udc_device, - &tegra_ehci2_device, &tegra_gart_device, &tegra_aes_device, #ifdef CONFIG_KEYBOARD_GPIO @@ -821,10 +817,15 @@ static void ventana_usb_init(void) int i; tegra_usb_phy_init(tegra_usb_phy_pdata, ARRAY_SIZE(tegra_usb_phy_pdata)); - + /* OTG should be the first to be registered */ tegra_otg_device.dev.platform_data = &tegra_otg_pdata; platform_device_register(&tegra_otg_device); + platform_device_register(&tegra_usb_fsg_device); + platform_device_register(&androidusb_device); + platform_device_register(&tegra_udc_device); + platform_device_register(&tegra_ehci2_device); + tegra_ehci3_device.dev.platform_data=&tegra_ehci_pdata[2]; platform_device_register(&tegra_ehci3_device); |