IB/core: constify mmu_notifier_ops structures
authorJulia Lawall <Julia.Lawall@lip6.fr>
Sun, 29 Nov 2015 22:02:51 +0000 (23:02 +0100)
committerDoug Ledford <dledford@redhat.com>
Thu, 24 Dec 2015 05:17:33 +0000 (00:17 -0500)
commit46e741f4105320875f70b94abaa1e6b089c6c354
tree352e3410471850975c857b9b15a850197251d40c
parent2392a4cdcb8dfd9d04ab0192919a8c7e3f9e7b3e
IB/core: constify mmu_notifier_ops structures

This mmu_notifier_ops structure is never modified, so declare it as
const, like the other mmu_notifier_ops structures.

Done with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Reviewed-by: Haggai Eran <haggaie@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/umem_odp.c