commit | ede1c2e7d4dc49fb1591e1754db9d53fabbd4b8b | [log] [tgz] |
---|---|---|
author | Joerg Roedel <jroedel@suse.de> | Wed Apr 12 00:21:29 2017 -0500 |
committer | Joerg Roedel <jroedel@suse.de> | Thu Apr 20 16:33:58 2017 +0200 |
tree | 046f68f855475742e265186dc82ad921f0532a9e | |
parent | e73b7afe4e8ca5ec4304a9e1d5009755a85fff91 [diff] |
iommu/omap: Store iommu_dev pointer in arch_data Instead of finding the matching IOMMU for a device using string comparision functions, store the pointer to the iommu_dev in arch_data during the omap_iommu_add_device callback and reset it during the omap_iommu_remove_device callback functions. Signed-off-by: Joerg Roedel <jroedel@suse.de> [s-anna@ti.com: few minor cleanups] Signed-off-by: Suman Anna <s-anna@ti.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>