2017-08-28 12:12:05

by Arvind Yadav

[permalink] [raw]
Subject: [PATCH 0/3] 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.

Arvind Yadav (3):
[PATCH 1/3] iommu: exynos: constify iommu_ops
[PATCH 2/3] iommu: mtk: constify iommu_ops
[PATCH 3/3] iommu: s390: constify iommu_ops

drivers/iommu/exynos-iommu.c | 4 ++--
drivers/iommu/mtk_iommu.c | 4 ++--
drivers/iommu/mtk_iommu_v1.c | 4 ++--
drivers/iommu/s390-iommu.c | 2 +-
4 files changed, 7 insertions(+), 7 deletions(-)

--
1.9.1