diff options
Diffstat (limited to 'drivers/usb/dwc3/dwc3-omap.c')
-rw-r--r-- | drivers/usb/dwc3/dwc3-omap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/dwc3/dwc3-omap.c b/drivers/usb/dwc3/dwc3-omap.c index 831b75fa4386..22f337f57219 100644 --- a/drivers/usb/dwc3/dwc3-omap.c +++ b/drivers/usb/dwc3/dwc3-omap.c | |||
@@ -203,7 +203,7 @@ static int dwc3_omap_register_phys(struct dwc3_omap *omap) | |||
203 | 203 | ||
204 | memset(&pdata, 0x00, sizeof(pdata)); | 204 | memset(&pdata, 0x00, sizeof(pdata)); |
205 | 205 | ||
206 | pdev = platform_device_alloc("nop_usb_xceiv", 0); | 206 | pdev = platform_device_alloc("nop_usb_xceiv", PLATFORM_DEVID_AUTO); |
207 | if (!pdev) | 207 | if (!pdev) |
208 | return -ENOMEM; | 208 | return -ENOMEM; |
209 | 209 | ||
@@ -214,7 +214,7 @@ static int dwc3_omap_register_phys(struct dwc3_omap *omap) | |||
214 | if (ret) | 214 | if (ret) |
215 | goto err1; | 215 | goto err1; |
216 | 216 | ||
217 | pdev = platform_device_alloc("nop_usb_xceiv", 1); | 217 | pdev = platform_device_alloc("nop_usb_xceiv", PLATFORM_DEVID_AUTO); |
218 | if (!pdev) { | 218 | if (!pdev) { |
219 | ret = -ENOMEM; | 219 | ret = -ENOMEM; |
220 | goto err1; | 220 | goto err1; |