]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/staging/usbip/vhci_sysfs.c
staging: struct device - replace bus_id with dev_name(), dev_set_name()
[linux-2.6-omap-h63xx.git] / drivers / staging / usbip / vhci_sysfs.c
index 24c2851a8f8489a5882d9b6b47adf328a1a0a5bc..0fd33a62d93470a8e5fea1430c4187d52a1dfb97 100644 (file)
@@ -60,7 +60,7 @@ static ssize_t show_status(struct device *dev, struct device_attribute *attr,
                        out += sprintf(out, "%03u %08x ",
                                        vdev->speed, vdev->devid);
                        out += sprintf(out, "%16p ", vdev->ud.tcp_socket);
-                       out += sprintf(out, "%s", vdev->udev->dev.bus_id);
+                       out += sprintf(out, "%s", dev_name(&vdev->udev->dev));
 
                } else
                        out += sprintf(out, "000 000 000 0000000000000000 0-0");