On Mon, Apr 12, 2021 at 02:48:42PM +0800, Yong Wu wrote: > When this driver build as module, It build fail like: > > ERROR: modpost: "of_phandle_iterator_args" > [drivers/iommu/mtk_iommu_v1.ko] undefined! > > This patch remove this interface to avoid this build fail. > > Reported-by: Valdis Kletnieks <valdis.kletni...@vt.edu> > Signed-off-by: Yong Wu <yong...@mediatek.com> > --- > Currently below patch is only in linux-next-20210409. This fixes tag may be > not needed. we can add this if it is need. > Fixes: 8de000cf0265 ("iommu/mediatek-v1: Allow building as module") > --- > drivers/iommu/mtk_iommu_v1.c | 62 ++++++++++++++++-------------------- > 1 file changed, 28 insertions(+), 34 deletions(-)
Applied both, thanks.