summaryrefslogtreecommitdiff
path: root/drivers/media/usb/em28xx/em28xx-v4l.h
diff options
context:
space:
mode:
authorBhumika Goyal <bhumirks@gmail.com>2017-09-27 19:08:19 +0200
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2017-10-27 14:13:33 +0200
commitac71484e89461a22d89ac84fcdc0235bf0a3e011 (patch)
tree7e5436dd807b16742323fa10ba6bd10bbd074486 /drivers/media/usb/em28xx/em28xx-v4l.h
parent0e2d9a9d4aa55dc2d650f9c07069a0b149f02d04 (diff)
media: au0828/em28xx: 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/usb/em28xx/em28xx-v4l.h')
-rw-r--r--drivers/media/usb/em28xx/em28xx-v4l.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/usb/em28xx/em28xx-v4l.h b/drivers/media/usb/em28xx/em28xx-v4l.h
index 8dfcb56bf4b3..9c411aac3878 100644
--- a/drivers/media/usb/em28xx/em28xx-v4l.h
+++ b/drivers/media/usb/em28xx/em28xx-v4l.h
@@ -16,4 +16,4 @@
int em28xx_start_analog_streaming(struct vb2_queue *vq, unsigned int count);
void em28xx_stop_vbi_streaming(struct vb2_queue *vq);
-extern struct vb2_ops em28xx_vbi_qops;
+extern const struct vb2_ops em28xx_vbi_qops;