summaryrefslogtreecommitdiff
path: root/linux/drivers
diff options
context:
space:
mode:
authorMike Isely <isely@pobox.com>2009-01-22 22:20:24 -0600
committerMike Isely <isely@pobox.com>2009-01-22 22:20:24 -0600
commit817280578765c7334fce02fe793591e2e146394d (patch)
tree811e5a8cb9e19416d365e0e89c14662937cd2790 /linux/drivers
parent6ee9656c7a173466bd8ce27fc3479093549891e0 (diff)
downloadmediapointer-dvb-s2-817280578765c7334fce02fe793591e2e146394d.tar.gz
mediapointer-dvb-s2-817280578765c7334fce02fe793591e2e146394d.tar.bz2
pvrusb2: Use usb_make_path() to determine device bus location
From: Mike Isely <isely@pobox.com> Priority: normal Signed-off-by: Mike Isely <isely@pobox.com>
Diffstat (limited to 'linux/drivers')
-rw-r--r--linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c b/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c
index ad34cc74a..19e12c5aa 100644
--- a/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c
+++ b/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c
@@ -2436,10 +2436,7 @@ struct pvr2_hdw *pvr2_hdw_create(struct usb_interface *intf,
hdw->usb_intf = intf;
hdw->usb_dev = interface_to_usbdev(intf);
- scnprintf(hdw->bus_info,sizeof(hdw->bus_info),
- "usb %s address %d",
- dev_name(&hdw->usb_dev->dev),
- hdw->usb_dev->devnum);
+ usb_make_path(hdw->usb_dev, hdw->bus_info, sizeof(hdw->bus_info));
ifnum = hdw->usb_intf->cur_altsetting->desc.bInterfaceNumber;
usb_set_interface(hdw->usb_dev,ifnum,0);