diff options
author | Bhumika Goyal <bhumirks@gmail.com> | 2017-08-26 02:15:53 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-08-27 08:46:23 -0400 |
commit | cd3bef00c2528666c30a71c0cc9175721db9f9d1 (patch) | |
tree | bab073b5dfdf728da1d731e4f2a307deaea4b592 /drivers/staging/media/omap4iss | |
parent | fe9619a7b583b5d5d9d7fc64c83e498e8f814696 (diff) | |
download | talos-obmc-linux-cd3bef00c2528666c30a71c0cc9175721db9f9d1.tar.gz talos-obmc-linux-cd3bef00c2528666c30a71c0cc9175721db9f9d1.zip |
media: staging: omap4iss: make v4l2_file_operations const
Make this const as it is only stored in a const field of a
video_device structure.
Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/staging/media/omap4iss')
-rw-r--r-- | drivers/staging/media/omap4iss/iss_video.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/media/omap4iss/iss_video.c b/drivers/staging/media/omap4iss/iss_video.c index 0bac58241a22..9e2f0421a01e 100644 --- a/drivers/staging/media/omap4iss/iss_video.c +++ b/drivers/staging/media/omap4iss/iss_video.c @@ -1199,7 +1199,7 @@ static int iss_video_mmap(struct file *file, struct vm_area_struct *vma) return vb2_mmap(&vfh->queue, vma); } -static struct v4l2_file_operations iss_video_fops = { +static const struct v4l2_file_operations iss_video_fops = { .owner = THIS_MODULE, .unlocked_ioctl = video_ioctl2, .open = iss_video_open, |