iommu/mediatek: Constify iommu_ops
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Thu, 18 Oct 2018 11:13:38 +0000 (19:13 +0800)
committerJoerg Roedel <jroedel@suse.de>
Tue, 6 Nov 2018 15:40:29 +0000 (16:40 +0100)
commitb65f501627fffc0464607244b05e7a2d3677d654
treec8ddc04db9441e0c4e4239cd3c61b3baf62e60c1
parent651022382c7f8da46cb4872a545ee1da6d097d2a
iommu/mediatek: Constify iommu_ops

iommu_ops are not supposed to change at runtime.
Functions 'iommu_device_set_ops' and 'bus_set_iommu' working with
const iommu_ops provided by <linux/iommu.h>. So mark the non-const
structs as const.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Yong Wu <yong.wu@mediatek.com>
(Change the title to iommu/mediatek: xx)
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/mtk_iommu.c
drivers/iommu/mtk_iommu_v1.c