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:

کامیت شده توسط
Mauro Carvalho Chehab

والد
507e190946
کامیت
8684494220
@@ -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,
|
||||
};
|
||||
|
||||
|
مرجع در شماره جدید
Block a user