summaryrefslogtreecommitdiffstats
path: root/drivers/media/pci/dt3155
diff options
context:
space:
mode:
authorBhumika Goyal <bhumirks@gmail.com>2017-08-26 15:08:11 +0200
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-08-27 14:44:58 +0200
commit507e190946297c34a27d9366b0661d5e506fdd03 (patch)
treecf0a66daba85624c8b3a237680b3226147fd67c6 /drivers/media/pci/dt3155
parentmedia: platform: make video_device const (diff)
downloadlinux-507e190946297c34a27d9366b0661d5e506fdd03.tar.xz
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/dt3155')
-rw-r--r--drivers/media/pci/dt3155/dt3155.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/pci/dt3155/dt3155.c b/drivers/media/pci/dt3155/dt3155.c
index 6a219694b225..1775c36891ae 100644
--- a/drivers/media/pci/dt3155/dt3155.c
+++ b/drivers/media/pci/dt3155/dt3155.c
@@ -499,7 +499,7 @@ static int dt3155_init_board(struct dt3155_priv *pd)
return 0;
}
-static struct video_device dt3155_vdev = {
+static const struct video_device dt3155_vdev = {
.name = DT3155_NAME,
.fops = &dt3155_fops,
.ioctl_ops = &dt3155_ioctl_ops,