diff options
Diffstat (limited to 'drivers/usb/gadget/dummy_hcd.c')
-rw-r--r-- | drivers/usb/gadget/dummy_hcd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/dummy_hcd.c b/drivers/usb/gadget/dummy_hcd.c index 42036192a03c..b36ad240534c 100644 --- a/drivers/usb/gadget/dummy_hcd.c +++ b/drivers/usb/gadget/dummy_hcd.c | |||
@@ -1865,7 +1865,7 @@ static int dummy_hcd_probe(struct platform_device *pdev) | |||
1865 | 1865 | ||
1866 | dev_info(&pdev->dev, "%s, driver " DRIVER_VERSION "\n", driver_desc); | 1866 | dev_info(&pdev->dev, "%s, driver " DRIVER_VERSION "\n", driver_desc); |
1867 | 1867 | ||
1868 | hcd = usb_create_hcd(&dummy_hcd, &pdev->dev, pdev->dev.bus_id); | 1868 | hcd = usb_create_hcd(&dummy_hcd, &pdev->dev, dev_name(&pdev->dev)); |
1869 | if (!hcd) | 1869 | if (!hcd) |
1870 | return -ENOMEM; | 1870 | return -ENOMEM; |
1871 | the_controller = hcd_to_dummy (hcd); | 1871 | the_controller = hcd_to_dummy (hcd); |