]> git.karo-electronics.de Git - linux-beck.git/blobdiff - drivers/xen/gntalloc.c
mm: mark most vm_operations_struct const
[linux-beck.git] / drivers / xen / gntalloc.c
index e53fe191738cfe8ce7c7cfe6202c2651258ff952..696301d9dc91922887eb1b6b54063876488e7e4a 100644 (file)
@@ -493,7 +493,7 @@ static void gntalloc_vma_close(struct vm_area_struct *vma)
        mutex_unlock(&gref_mutex);
 }
 
-static struct vm_operations_struct gntalloc_vmops = {
+static const struct vm_operations_struct gntalloc_vmops = {
        .open = gntalloc_vma_open,
        .close = gntalloc_vma_close,
 };