diff options
Diffstat (limited to 'drivers/media/video/stk-webcam.c')
-rw-r--r-- | drivers/media/video/stk-webcam.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/stk-webcam.c b/drivers/media/video/stk-webcam.c index 0b996ea4134e..6b41865f42bd 100644 --- a/drivers/media/video/stk-webcam.c +++ b/drivers/media/video/stk-webcam.c | |||
@@ -790,7 +790,7 @@ static void stk_v4l_vm_close(struct vm_area_struct *vma) | |||
790 | if (sbuf->mapcount == 0) | 790 | if (sbuf->mapcount == 0) |
791 | sbuf->v4lbuf.flags &= ~V4L2_BUF_FLAG_MAPPED; | 791 | sbuf->v4lbuf.flags &= ~V4L2_BUF_FLAG_MAPPED; |
792 | } | 792 | } |
793 | static struct vm_operations_struct stk_v4l_vm_ops = { | 793 | static const struct vm_operations_struct stk_v4l_vm_ops = { |
794 | .open = stk_v4l_vm_open, | 794 | .open = stk_v4l_vm_open, |
795 | .close = stk_v4l_vm_close | 795 | .close = stk_v4l_vm_close |
796 | }; | 796 | }; |