|
@@ -42,7 +42,7 @@ static int dwc3_exynos_register_phys(struct dwc3_exynos *exynos)
|
|
|
|
|
|
memset(&pdata, 0x00, sizeof(pdata));
|
|
|
|
|
|
- pdev = platform_device_alloc("nop_usb_xceiv", 0);
|
|
|
+ pdev = platform_device_alloc("nop_usb_xceiv", PLATFORM_DEVID_AUTO);
|
|
|
if (!pdev)
|
|
|
return -ENOMEM;
|
|
|
|
|
@@ -53,7 +53,7 @@ static int dwc3_exynos_register_phys(struct dwc3_exynos *exynos)
|
|
|
if (ret)
|
|
|
goto err1;
|
|
|
|
|
|
- pdev = platform_device_alloc("nop_usb_xceiv", 1);
|
|
|
+ pdev = platform_device_alloc("nop_usb_xceiv", PLATFORM_DEVID_AUTO);
|
|
|
if (!pdev) {
|
|
|
ret = -ENOMEM;
|
|
|
goto err1;
|