]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/staging/usbip/stub_rx.c
staging: struct device - replace bus_id with dev_name(), dev_set_name()
[linux-2.6-omap-h63xx.git] / drivers / staging / usbip / stub_rx.c
index 36ce898fced5e68d946935d977d191478c559bff..2a2cc0f051cc1133f1f87a1526a299b0e0cf71e7 100644 (file)
@@ -157,7 +157,7 @@ static int tweak_set_configuration_cmd(struct urb *urb)
         * A user may need to set a special configuration value before
         * exporting the device.
         */
-       uinfo("set_configuration (%d) to %s\n", config, urb->dev->dev.bus_id);
+       uinfo("set_configuration (%d) to %s\n", config, dev_name(&urb->dev->dev));
        uinfo("but, skip!\n");
 
        return 0;
@@ -175,7 +175,7 @@ static int tweak_reset_device_cmd(struct urb *urb)
        value = le16_to_cpu(req->wValue);
        index = le16_to_cpu(req->wIndex);
 
-       uinfo("reset_device (port %d) to %s\n", index, urb->dev->dev.bus_id);
+       uinfo("reset_device (port %d) to %s\n", index, dev_name(&urb->dev->dev));
 
        /* all interfaces should be owned by usbip driver, so just reset it.  */
        ret = usb_lock_device_for_reset(urb->dev, NULL);