]> nv-tegra.nvidia Code Review - linux-2.6.git/blobdiff - drivers/usb/musb/musb_core.c
usb: struct device - replace bus_id with dev_name(), dev_set_name()
[linux-2.6.git] / drivers / usb / musb / musb_core.c
index 5280dba9b1fb7e0a94f6dc1b379b28fc5c7d831b..0b742ebe5c8cea3e5e6004b6f5989a7bc43bbf52 100644 (file)
@@ -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;