]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xen/grant-table: constify gnttab_ops structure
authorJulia Lawall <Julia.Lawall@lip6.fr>
Sat, 28 Nov 2015 14:28:40 +0000 (15:28 +0100)
committerDaniel Kiper <daniel.kiper@oracle.com>
Tue, 10 May 2016 20:10:58 +0000 (22:10 +0200)
commitdaf8df54a2309e3834dc1dd6f68200260b52825d
tree24b853a93945bf0b29a2df6e3d24c92ff843dc78
parentf18788cff72264c5618e4fea513afc257d6f6849
xen/grant-table: constify gnttab_ops structure

The gnttab_ops structure is never modified, so declare it as const.

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 86fc2136736d2767bf797e6d2b1f80b49f52953c)
Signed-off-by: Daniel Kiper <daniel.kiper@oracle.com>
drivers/xen/grant-table.c