summaryrefslogtreecommitdiff
path: root/drivers/media/usb/cx231xx/cx231xx-vbi.h
diff options
context:
space:
mode:
authorBhumika Goyal <bhumirks@gmail.com>2017-09-27 04:05:43 -0400
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-10-31 06:37:49 -0400
commit0dd7054129c9b3d54c3716b8e38dcfcb43fe305d (patch)
tree396ce516e6f37e12c1892e70058cb2c9080a0e86 /drivers/media/usb/cx231xx/cx231xx-vbi.h
parentbfba2b3e21b9426c0f9aca00f3cad8631b2da170 (diff)
media: cx231xx: make cx231xx_vbi_qops const
Make this const as it is only passed to the const argument of the function videobuf_queue_vmalloc_init in the file referencing it. Also, make the declaration in the header const. Structure found using Coccienlle and changes done by hand. Signed-off-by: Bhumika Goyal <bhumirks@gmail.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/usb/cx231xx/cx231xx-vbi.h')
-rw-r--r--drivers/media/usb/cx231xx/cx231xx-vbi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/usb/cx231xx/cx231xx-vbi.h b/drivers/media/usb/cx231xx/cx231xx-vbi.h
index 16c7d20a22a4..b33d2bdb621c 100644
--- a/drivers/media/usb/cx231xx/cx231xx-vbi.h
+++ b/drivers/media/usb/cx231xx/cx231xx-vbi.h
@@ -22,7 +22,7 @@
#ifndef _CX231XX_VBI_H
#define _CX231XX_VBI_H
-extern struct videobuf_queue_ops cx231xx_vbi_qops;
+extern const struct videobuf_queue_ops cx231xx_vbi_qops;
#define NTSC_VBI_START_LINE 10 /* line 10 - 21 */
#define NTSC_VBI_END_LINE 21