summaryrefslogtreecommitdiffstats
path: root/drivers/media/pci/saa7134/saa7134.h
diff options
context:
space:
mode:
authorBhumika Goyal2017-09-27 18:59:06 +0200
committerMauro Carvalho Chehab2017-10-27 14:12:44 +0200
commit0e2d9a9d4aa55dc2d650f9c07069a0b149f02d04 (patch)
treef4f149a67cf7b7137b0ddac10a1ab1146219aad4 /drivers/media/pci/saa7134/saa7134.h
parentmedia: zoran: make zoran_template const (diff)
downloadkernel-qcow2-linux-0e2d9a9d4aa55dc2d650f9c07069a0b149f02d04.tar.gz
kernel-qcow2-linux-0e2d9a9d4aa55dc2d650f9c07069a0b149f02d04.tar.xz
kernel-qcow2-linux-0e2d9a9d4aa55dc2d650f9c07069a0b149f02d04.zip
media: cx23885/saa7134: make vb2_ops const
Make vb2_ops const as they are only stored in the const field of a vb2_queue structure. Make the declarations const too. Done using Coccinelle. Signed-off-by: Bhumika Goyal <bhumirks@gmail.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/pci/saa7134/saa7134.h')
-rw-r--r--drivers/media/pci/saa7134/saa7134.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/pci/saa7134/saa7134.h b/drivers/media/pci/saa7134/saa7134.h
index 816b5282d671..545f7ad8b16d 100644
--- a/drivers/media/pci/saa7134/saa7134.h
+++ b/drivers/media/pci/saa7134/saa7134.h
@@ -870,7 +870,7 @@ int saa7134_ts_stop(struct saa7134_dev *dev);
/* ----------------------------------------------------------- */
/* saa7134-vbi.c */
-extern struct vb2_ops saa7134_vbi_qops;
+extern const struct vb2_ops saa7134_vbi_qops;
extern struct video_device saa7134_vbi_template;
int saa7134_vbi_init1(struct saa7134_dev *dev);