summaryrefslogtreecommitdiffstats
path: root/drivers/media/pci/tw68/tw68-video.c
diff options
context:
space:
mode:
authorBhumika Goyal <bhumirks@gmail.com>2017-08-26 09:08:11 -0400
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-08-27 08:44:58 -0400
commit507e190946297c34a27d9366b0661d5e506fdd03 (patch)
treecf0a66daba85624c8b3a237680b3226147fd67c6 /drivers/media/pci/tw68/tw68-video.c
parent5303135c178c2f51044ddbc30037af9f030e6017 (diff)
downloadlinux-507e190946297c34a27d9366b0661d5e506fdd03.tar.gz
linux-507e190946297c34a27d9366b0661d5e506fdd03.tar.bz2
linux-507e190946297c34a27d9366b0661d5e506fdd03.zip
media: pci: make video_device const
Make these const as they are either used during a copy operation or passed to a const argument of the function cx88_vdev_init. Signed-off-by: Bhumika Goyal <bhumirks@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/pci/tw68/tw68-video.c')
-rw-r--r--drivers/media/pci/tw68/tw68-video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/pci/tw68/tw68-video.c b/drivers/media/pci/tw68/tw68-video.c
index 58c4dd75bfa1..8c1f4a049764 100644
--- a/drivers/media/pci/tw68/tw68-video.c
+++ b/drivers/media/pci/tw68/tw68-video.c
@@ -916,7 +916,7 @@ static const struct v4l2_ioctl_ops video_ioctl_ops = {
#endif
};
-static struct video_device tw68_video_template = {
+static const struct video_device tw68_video_template = {
.name = "tw68_video",
.fops = &video_fops,
.ioctl_ops = &video_ioctl_ops,