diff options
author | Laurent Pinchart | 2016-06-18 02:11:26 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab | 2016-06-28 17:03:30 +0200 |
commit | eb9163d3bd2700ea3c6570a07e7548f678211dac (patch) | |
tree | f886ee273fb6b02a24d33df8554993c5725ed0bd /drivers/media/platform/vsp1/vsp1_video.c | |
parent | [media] v4l: vsp1: pipe: Fix typo in comment (diff) | |
download | kernel-qcow2-linux-eb9163d3bd2700ea3c6570a07e7548f678211dac.tar.gz kernel-qcow2-linux-eb9163d3bd2700ea3c6570a07e7548f678211dac.tar.xz kernel-qcow2-linux-eb9163d3bd2700ea3c6570a07e7548f678211dac.zip |
[media] v4l: vsp1: Constify operation structures
The structures are never modified, make them const.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/platform/vsp1/vsp1_video.c')
-rw-r--r-- | drivers/media/platform/vsp1/vsp1_video.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/platform/vsp1/vsp1_video.c b/drivers/media/platform/vsp1/vsp1_video.c index 34aa6427662d..a899b15c8d87 100644 --- a/drivers/media/platform/vsp1/vsp1_video.c +++ b/drivers/media/platform/vsp1/vsp1_video.c @@ -696,7 +696,7 @@ static void vsp1_video_stop_streaming(struct vb2_queue *vq) spin_unlock_irqrestore(&video->irqlock, flags); } -static struct vb2_ops vsp1_video_queue_qops = { +static const struct vb2_ops vsp1_video_queue_qops = { .queue_setup = vsp1_video_queue_setup, .buf_prepare = vsp1_video_buffer_prepare, .buf_queue = vsp1_video_buffer_queue, @@ -913,7 +913,7 @@ static int vsp1_video_release(struct file *file) return 0; } -static struct v4l2_file_operations vsp1_video_fops = { +static const struct v4l2_file_operations vsp1_video_fops = { .owner = THIS_MODULE, .unlocked_ioctl = video_ioctl2, .open = vsp1_video_open, |