]> git.karo-electronics.de Git - linux-beck.git/commit
iommu/amd: Constify mmu_notifier_ops structures
authorJulia Lawall <Julia.Lawall@lip6.fr>
Sun, 29 Nov 2015 22:02:50 +0000 (23:02 +0100)
committerJoerg Roedel <jroedel@suse.de>
Mon, 14 Dec 2015 14:44:29 +0000 (15:44 +0100)
commit759ce23b62c4ba1aa467fe5eb12bc9f95af606fe
treec9e77e39687cf4cd16c90b2c50a29c3004cae318
parent492e74594ec6285207f9db02d41c41cad5dbc6ab
iommu/amd: 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: Joerg Roedel <jroedel@suse.de>
drivers/iommu/amd_iommu_v2.c