commit | b65f501627fffc0464607244b05e7a2d3677d654 | [log] [tgz] |
---|---|---|
author | Arvind Yadav <arvind.yadav.cs@gmail.com> | Thu Oct 18 19:13:38 2018 +0800 |
committer | Joerg Roedel <jroedel@suse.de> | Tue Nov 06 16:40:29 2018 +0100 |
tree | c8ddc04db9441e0c4e4239cd3c61b3baf62e60c1 | |
parent | 651022382c7f8da46cb4872a545ee1da6d097d2a [diff] |
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>