iommu/mediatek: Make use of iommu_device_register interface
authorJoerg Roedel <jroedel@suse.de>
Fri, 3 Feb 2017 11:57:32 +0000 (12:57 +0100)
committerJoerg Roedel <jroedel@suse.de>
Fri, 10 Feb 2017 12:44:57 +0000 (13:44 +0100)
commitb16c0170b53cfbf50db6cd60a427b52b0602b882
treeb7a2b58e466c6a4fade9684045fb3ed5cfcc44b2
parent42df43b36163ed7d0ab13992e411093252903273
iommu/mediatek: Make use of iommu_device_register interface

Register individual Mediatek IOMMUs to the iommu core and
add sysfs entries.

Cc: Matthias Brugger <matthias.bgg@gmail.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-mediatek@lists.infradead.org
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/mtk_iommu.c
drivers/iommu/mtk_iommu.h