media: usb: make video_device const

Make these const as they are only used during a copy operation.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Acked-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
Bhumika Goyal
2017-08-26 09:11:30 -04:00
کامیت شده توسط Mauro Carvalho Chehab
والد 507e190946
کامیت 8684494220
11فایلهای تغییر یافته به همراه11 افزوده شده و 11 حذف شده

مشاهده پرونده

@@ -1226,7 +1226,7 @@ static const struct v4l2_file_operations vdev_fops = {
};
static struct video_device vdev_template = {
static const struct video_device vdev_template = {
.fops = &vdev_fops,
};