aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/pci
diff options
context:
space:
mode:
authorAndrey Utkin2016-09-12 20:02:37 -0300
committerMauro Carvalho Chehab2016-09-19 14:16:53 -0300
commitc9c21c301dcf1219159ec4377c03d6a24a3d2ba0 (patch)
treeb529aa1083b76cdf8ade17d6f1cd5ba423586b7a /drivers/media/pci
parentb82e39f85603db6251ffcacf8b0b91674869c6fb (diff)
[media] tw5864: constify vb2_ops structure
Inspired by "[media] pci: constify vb2_ops structures" patch from Julia Lawall (dated 9 Sep 2016). Signed-off-by: Andrey Utkin <andrey.utkin@corp.bluecherry.net> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/pci')
-rw-r--r--drivers/media/pci/tw5864/tw5864-video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/pci/tw5864/tw5864-video.c b/drivers/media/pci/tw5864/tw5864-video.c
index 6c1685aeaea9..7401b64b1784 100644
--- a/drivers/media/pci/tw5864/tw5864-video.c
+++ b/drivers/media/pci/tw5864/tw5864-video.c
@@ -465,7 +465,7 @@ static void tw5864_stop_streaming(struct vb2_queue *q)
spin_unlock_irqrestore(&input->slock, flags);
}
-static struct vb2_ops tw5864_video_qops = {
+static const struct vb2_ops tw5864_video_qops = {
.queue_setup = tw5864_queue_setup,
.buf_queue = tw5864_buf_queue,
.start_streaming = tw5864_start_streaming,