diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-10-30 01:59:32 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-01-06 13:52:05 -0800 |
commit | e913397202b7551299da20fc8cf7b90c46f61ba3 (patch) | |
tree | 367967524f55040a74d36495c0adbfd6a30a087e /drivers/staging/usbip/stub_dev.c | |
parent | 9f37952aa0088242db7c19a8e31a6d284e4079e9 (diff) |
staging: struct device - replace bus_id with dev_name(), dev_set_name()
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/usbip/stub_dev.c')
-rw-r--r-- | drivers/staging/usbip/stub_dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/usbip/stub_dev.c b/drivers/staging/usbip/stub_dev.c index ee455a087ea..1e320caf3d1 100644 --- a/drivers/staging/usbip/stub_dev.c +++ b/drivers/staging/usbip/stub_dev.c @@ -389,7 +389,7 @@ static int stub_probe(struct usb_interface *interface, { struct usb_device *udev = interface_to_usbdev(interface); struct stub_device *sdev = NULL; - char *udev_busid = interface->dev.parent->bus_id; + const char *udev_busid = dev_name(interface->dev.parent); int err = 0; dev_dbg(&interface->dev, "Enter\n"); |