]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xen/gntdev: constify mmu_notifier_ops structures
authorJulia Lawall <Julia.Lawall@lip6.fr>
Sun, 29 Nov 2015 22:02:49 +0000 (23:02 +0100)
committerDaniel Kiper <daniel.kiper@oracle.com>
Tue, 10 May 2016 20:13:44 +0000 (22:13 +0200)
commitd53358baa7a5bc3cd310de7a3d32ca163387d43d
tree04d89fca4ddc218531b6c51e317f59b6b30ef721
parentdaf8df54a2309e3834dc1dd6f68200260b52825d
xen/gntdev: 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>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
(cherry picked from commit b9c0a92a9aa953e5a98f2af2098c747d4358c7bb)
Signed-off-by: Daniel Kiper <daniel.kiper@oracle.com>
drivers/xen/gntdev.c