diff options
author | Arvind Yadav <arvind.yadav.cs@gmail.com> | 2018-10-18 14:13:38 +0300 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2018-11-06 18:40:29 +0300 |
commit | b65f501627fffc0464607244b05e7a2d3677d654 (patch) | |
tree | c8ddc04db9441e0c4e4239cd3c61b3baf62e60c1 /drivers/iommu/rockchip-iommu.c | |
parent | 651022382c7f8da46cb4872a545ee1da6d097d2a (diff) | |
download | linux-b65f501627fffc0464607244b05e7a2d3677d654.tar.xz |
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>
Diffstat (limited to 'drivers/iommu/rockchip-iommu.c')
0 files changed, 0 insertions, 0 deletions