summaryrefslogtreecommitdiffstats
path: root/drivers/iommu/mtk_iommu.c
diff options
context:
space:
mode:
authorJoerg Roedel <jroedel@suse.de>2017-02-02 12:19:12 +0100
committerJoerg Roedel <jroedel@suse.de>2017-02-10 14:54:37 +0100
commitd0f6f5832603931b0a8da044fb9abe8289e201ee (patch)
tree3e461c39cf3666d42aa6eaed9a6605f6023ae475 /drivers/iommu/mtk_iommu.c
parentd2c302b6e8b1a5c0735b59d63075132bae9c52ac (diff)
downloadblackbird-op-linux-d0f6f5832603931b0a8da044fb9abe8289e201ee.tar.gz
blackbird-op-linux-d0f6f5832603931b0a8da044fb9abe8289e201ee.zip
iommu: Remove iommu_register_instance interface
And also move its remaining functionality to iommu_device_register() and 'struct iommu_device'. Cc: Rob Herring <robh+dt@kernel.org> Cc: Frank Rowand <frowand.list@gmail.com> Cc: Matthias Brugger <matthias.bgg@gmail.com> Cc: Marek Szyprowski <m.szyprowski@samsung.com> Cc: devicetree@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/mtk_iommu.c')
-rw-r--r--drivers/iommu/mtk_iommu.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iommu/mtk_iommu.c b/drivers/iommu/mtk_iommu.c
index d484fa608db8..5d14cd15198d 100644
--- a/drivers/iommu/mtk_iommu.c
+++ b/drivers/iommu/mtk_iommu.c
@@ -681,7 +681,6 @@ static int mtk_iommu_init_fn(struct device_node *np)
return ret;
}
- of_iommu_set_ops(np, &mtk_iommu_ops);
return 0;
}
OpenPOWER on IntegriCloud