|
@@ -1781,7 +1781,7 @@ allocate_instance(struct device *dev,
|
|
|
#ifdef CONFIG_USB_MUSB_HDRC_HCD
|
|
|
struct usb_hcd *hcd;
|
|
|
|
|
|
- hcd = usb_create_hcd(&musb_hc_driver, dev, dev->bus_id);
|
|
|
+ hcd = usb_create_hcd(&musb_hc_driver, dev, dev_name(dev));
|
|
|
if (!hcd)
|
|
|
return NULL;
|
|
|
/* usbcore sets dev->driver_data to hcd, and sometimes uses that... */
|
|
@@ -1984,7 +1984,7 @@ bad_config:
|
|
|
INIT_WORK(&musb->irq_work, musb_irq_work);
|
|
|
|
|
|
/* attach to the IRQ */
|
|
|
- if (request_irq(nIrq, musb->isr, 0, dev->bus_id, musb)) {
|
|
|
+ if (request_irq(nIrq, musb->isr, 0, dev_name(dev), musb)) {
|
|
|
dev_err(dev, "request_irq %d failed!\n", nIrq);
|
|
|
status = -ENODEV;
|
|
|
goto fail2;
|