diff options
author | Mike Isely <isely@pobox.com> | 2009-01-22 23:20:24 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-03-30 11:42:26 -0400 |
commit | 87e3495c316bf3b63512eb280fd4b2d6d3518755 (patch) | |
tree | 6f4ba83af8f431126044cf6e13f35b04eb2e43d0 /drivers | |
parent | ade0815c16734e8c25dbac9faf5b5d63bcccd533 (diff) |
V4L/DVB (10303): pvrusb2: Use usb_make_path() to determine device bus location
Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/video/pvrusb2/pvrusb2-hdw.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-hdw.c b/drivers/media/video/pvrusb2/pvrusb2-hdw.c index ac5dad0c5fb0..ed8a4561e086 100644 --- a/drivers/media/video/pvrusb2/pvrusb2-hdw.c +++ b/drivers/media/video/pvrusb2/pvrusb2-hdw.c | |||
@@ -2412,10 +2412,7 @@ struct pvr2_hdw *pvr2_hdw_create(struct usb_interface *intf, | |||
2412 | hdw->usb_intf = intf; | 2412 | hdw->usb_intf = intf; |
2413 | hdw->usb_dev = interface_to_usbdev(intf); | 2413 | hdw->usb_dev = interface_to_usbdev(intf); |
2414 | 2414 | ||
2415 | scnprintf(hdw->bus_info,sizeof(hdw->bus_info), | 2415 | usb_make_path(hdw->usb_dev, hdw->bus_info, sizeof(hdw->bus_info)); |
2416 | "usb %s address %d", | ||
2417 | dev_name(&hdw->usb_dev->dev), | ||
2418 | hdw->usb_dev->devnum); | ||
2419 | 2416 | ||
2420 | ifnum = hdw->usb_intf->cur_altsetting->desc.bInterfaceNumber; | 2417 | ifnum = hdw->usb_intf->cur_altsetting->desc.bInterfaceNumber; |
2421 | usb_set_interface(hdw->usb_dev,ifnum,0); | 2418 | usb_set_interface(hdw->usb_dev,ifnum,0); |