iommu/tegra: Add support for struct iommu_device
authorJoerg Roedel <jroedel@suse.de>
Wed, 9 Aug 2017 15:41:52 +0000 (17:41 +0200)
committerJoerg Roedel <jroedel@suse.de>
Thu, 17 Aug 2017 14:31:34 +0000 (16:31 +0200)
commit0b480e447006144ffcfaf178574b9a13344588a6
tree47df3de6dbdd4f0803307bbe25fb45d1cf9d3ea9
parentfa94cf84af20d179e04eab429cfec9d91922111d
iommu/tegra: Add support for struct iommu_device

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

Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/tegra-smmu.c