diff options
-rw-r--r-- | drivers/media/video/s2255drv.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/video/s2255drv.c b/drivers/media/video/s2255drv.c index 31bc94075268..b5be633e3bb0 100644 --- a/drivers/media/video/s2255drv.c +++ b/drivers/media/video/s2255drv.c | |||
@@ -846,8 +846,7 @@ static int vidioc_querycap(struct file *file, void *priv, | |||
846 | struct s2255_dev *dev = fh->dev; | 846 | struct s2255_dev *dev = fh->dev; |
847 | strlcpy(cap->driver, "s2255", sizeof(cap->driver)); | 847 | strlcpy(cap->driver, "s2255", sizeof(cap->driver)); |
848 | strlcpy(cap->card, "s2255", sizeof(cap->card)); | 848 | strlcpy(cap->card, "s2255", sizeof(cap->card)); |
849 | strlcpy(cap->bus_info, dev_name(&dev->udev->dev), | 849 | usb_make_path(dev->udev, cap->bus_info, sizeof(cap->bus_info)); |
850 | sizeof(cap->bus_info)); | ||
851 | cap->version = S2255_VERSION; | 850 | cap->version = S2255_VERSION; |
852 | cap->capabilities = V4L2_CAP_VIDEO_CAPTURE | V4L2_CAP_STREAMING; | 851 | cap->capabilities = V4L2_CAP_VIDEO_CAPTURE | V4L2_CAP_STREAMING; |
853 | return 0; | 852 | return 0; |