iommu/tegra-gart: Add support for struct iommu_device
authorJoerg Roedel <jroedel@suse.de>
Wed, 9 Aug 2017 22:17:28 +0000 (00:17 +0200)
committerJoerg Roedel <jroedel@suse.de>
Thu, 17 Aug 2017 14:31:34 +0000 (16:31 +0200)
commitc184ae83c8337d8ee0e5e9de9e7ce2fc652137aa
tree2aec5a505939d045dd41c4e013820096354ebcf8
parent0b480e447006144ffcfaf178574b9a13344588a6
iommu/tegra-gart: Add support for struct iommu_device

Add a struct iommu_device to each tegra-gart and register it
with the iommu-core. Also link devices added to the driver
to their respective hardware iommus.

Reviewed-by: Dmitry Osipenko <digetx@gmail.com>
Tested-by: Dmitry Osipenko <digetx@gmail.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/tegra-gart.c