const: mark struct vm_struct_operations
[linux-block.git] / drivers / media / video / stk-webcam.c
index 0b996ea4134eeac750bb14cb21d068f7c72d0b14..6b41865f42bdaf93078be0229124e6af403e7fc4 100644 (file)
@@ -790,7 +790,7 @@ static void stk_v4l_vm_close(struct vm_area_struct *vma)
        if (sbuf->mapcount == 0)
                sbuf->v4lbuf.flags &= ~V4L2_BUF_FLAG_MAPPED;
 }
-static struct vm_operations_struct stk_v4l_vm_ops = {
+static const struct vm_operations_struct stk_v4l_vm_ops = {
        .open = stk_v4l_vm_open,
        .close = stk_v4l_vm_close
 };