diff options
author | Bhumika Goyal <bhumirks@gmail.com> | 2017-08-26 09:11:30 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-08-27 08:45:32 -0400 |
commit | 868449422081f8f4b5d2969709c0aa9021184167 (patch) | |
tree | b3177a39b4ad6cd62ee4c8106907778943d5e63e /drivers/media/usb/msi2500 | |
parent | 507e190946297c34a27d9366b0661d5e506fdd03 (diff) | |
download | op-kernel-dev-868449422081f8f4b5d2969709c0aa9021184167.zip op-kernel-dev-868449422081f8f4b5d2969709c0aa9021184167.tar.gz |
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>
Diffstat (limited to 'drivers/media/usb/msi2500')
-rw-r--r-- | drivers/media/usb/msi2500/msi2500.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/usb/msi2500/msi2500.c b/drivers/media/usb/msi2500/msi2500.c index 79bfd2d..a097d3d 100644 --- a/drivers/media/usb/msi2500/msi2500.c +++ b/drivers/media/usb/msi2500/msi2500.c @@ -1143,7 +1143,7 @@ static const struct v4l2_file_operations msi2500_fops = { .unlocked_ioctl = video_ioctl2, }; -static struct video_device msi2500_template = { +static const struct video_device msi2500_template = { .name = "Mirics MSi3101 SDR Dongle", .release = video_device_release_empty, .fops = &msi2500_fops, |