static int __init s5p_ehci_device_initcall(void) { int ret; universal5410_ehci_init(); ret = platform_device_register(&s5p_device_ehci); if (ret < 0) pr_err("ehci register fail err=%d\n", ret); return ret; }
void __init exynos5_universal5410_usb_init(void) { universal5410_ehci_init(); #ifdef CONFIG_USB_GADGET universal5410_usbgadget_init(); #endif /* * Shutdown DRD PHYs to reduce power consumption. * Later, DRD driver will turn on only the PHY it needs. */ universal5410_drd_phy_shutdown(&exynos5_device_usb3_drd0); universal5410_drd_phy_shutdown(&exynos5_device_usb3_drd1); universal5410_drd0_init(); universal5410_drd1_init(); platform_add_devices(universal5410_usb_devices, ARRAY_SIZE(universal5410_usb_devices)); }