]> git.karo-electronics.de Git - karo-tx-linux.git/commit
iommu/vt-d: Constify intel_dma_ops
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Wed, 28 Jun 2017 11:09:32 +0000 (16:39 +0530)
committerJoerg Roedel <jroedel@suse.de>
Wed, 28 Jun 2017 12:17:12 +0000 (14:17 +0200)
commit01e1932a1748e20b69ba23d0a01db5eb3a525782
treeb80d9fc8787821f658c1ba2dc18cfa67917fd448
parent58c4a95f90839624b67f67acdb8a129f4383b569
iommu/vt-d: Constify intel_dma_ops

Most dma_map_ops structures are never modified. Constify these
structures such that these can be write-protected.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel-iommu.c