> From: Linux-mediatek [mailto:linux-mediatek-boun...@lists.infradead.org] On > Behalf Of Arvind Yadav > Sent: Monday, August 28, 2017 8:12 PM > To: m.szyprow...@samsung.com; j...@8bytes.org; kg...@kernel.org; > k...@kernel.org; matthias....@gmail.com; gerald.schae...@de.ibm.com > Cc: iommu@lists.linux-foundation.org; linux-media...@lists.infradead.org; > linux-ker...@vger.kernel.org; linux-arm-ker...@lists.infradead.org > 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 <arvind.yadav...@gmail.com>
Thanks. Reviewed-by: Yong Wu <yong...@mediatek.com> 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 iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu