> From: Linux-mediatek [mailto:[email protected]] On > Behalf Of Arvind Yadav > Sent: Monday, August 28, 2017 8:12 PM > To: [email protected]; [email protected]; [email protected]; > [email protected]; [email protected]; [email protected] > Cc: [email protected]; [email protected]; > [email protected]; [email protected] > Subject: [PATCH 2/3] iommu: mtk: 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 <[email protected]>
Thanks. Reviewed-by: Yong Wu <[email protected]> nit, the title should be: iommu/mediatek:xxx Also, the file mtk_iommu.c may need rebase on[1]. [1]https://lists.linuxfoundation.org/pipermail/iommu/2017-August/023847.html _______________________________________________ iommu mailing list [email protected] https://lists.linuxfoundation.org/mailman/listinfo/iommu
