diff options
Diffstat (limited to 'kernel/drivers/infiniband/hw/qib/qib_mmap.c')
-rw-r--r-- | kernel/drivers/infiniband/hw/qib/qib_mmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/drivers/infiniband/hw/qib/qib_mmap.c b/kernel/drivers/infiniband/hw/qib/qib_mmap.c index 146cf29a2..34927b700 100644 --- a/kernel/drivers/infiniband/hw/qib/qib_mmap.c +++ b/kernel/drivers/infiniband/hw/qib/qib_mmap.c @@ -75,7 +75,7 @@ static void qib_vma_close(struct vm_area_struct *vma) kref_put(&ip->ref, qib_release_mmap_info); } -static struct vm_operations_struct qib_vm_ops = { +static const struct vm_operations_struct qib_vm_ops = { .open = qib_vma_open, .close = qib_vma_close, }; |