const: mark struct vm_struct_operations
[linux-block.git] / drivers / infiniband / hw / ipath / ipath_mmap.c
index fa830e22002fc09d9bcea91f0b908b60558d60f7..b28865faf435179078a1aed86e16c38326da10c8 100644 (file)
@@ -74,7 +74,7 @@ static void ipath_vma_close(struct vm_area_struct *vma)
        kref_put(&ip->ref, ipath_release_mmap_info);
 }
 
-static struct vm_operations_struct ipath_vm_ops = {
+static const struct vm_operations_struct ipath_vm_ops = {
        .open =     ipath_vma_open,
        .close =    ipath_vma_close,
 };