]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/usb/host/ohci-sm501.c
USB: usb dev_name() instead of dev->bus_id
[linux-2.6-omap-h63xx.git] / drivers / usb / host / ohci-sm501.c
index e610698c6b60ca55eadf234599f3a3b254e5309b..21b164e4abebf8bc71d12611b4356bb97e038718 100644 (file)
@@ -143,7 +143,7 @@ static int ohci_hcd_sm501_drv_probe(struct platform_device *pdev)
                goto err2;
        }
 
-       hcd = usb_create_hcd(driver, &pdev->dev, pdev->dev.bus_id);
+       hcd = usb_create_hcd(driver, &pdev->dev, dev_name(&pdev->dev));
        if (!hcd) {
                retval = -ENOMEM;
                goto err2;