diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2017-07-21 11:54:12 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-08-08 13:01:17 +0300 |
commit | 71269bf607bcb6e51970c90428e8a912857ea728 (patch) | |
tree | f6dc6396a21c6bf6903af655241039434651f259 /drivers/media/usb/uvc | |
parent | 4b3b11048d88b52d859c20f8ed5aaab87d199513 (diff) | |
download | linux-71269bf607bcb6e51970c90428e8a912857ea728.tar.xz |
media: uvc: don't set driver_version
This field will be removed as it is not needed anymore.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/usb/uvc')
-rw-r--r-- | drivers/media/usb/uvc/uvc_driver.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/usb/uvc/uvc_driver.c b/drivers/media/usb/uvc/uvc_driver.c index 70842c5af05b..4f463bf2b877 100644 --- a/drivers/media/usb/uvc/uvc_driver.c +++ b/drivers/media/usb/uvc/uvc_driver.c @@ -2096,7 +2096,6 @@ static int uvc_probe(struct usb_interface *intf, sizeof(dev->mdev.serial)); strcpy(dev->mdev.bus_info, udev->devpath); dev->mdev.hw_revision = le16_to_cpu(udev->descriptor.bcdDevice); - dev->mdev.driver_version = LINUX_VERSION_CODE; media_device_init(&dev->mdev); dev->vdev.mdev = &dev->mdev; |