summaryrefslogtreecommitdiff
path: root/drivers/iommu/omap-iommu.h
diff options
context:
space:
mode:
authorJoerg Roedel <jroedel@suse.de>2017-04-12 08:21:30 +0300
committerJoerg Roedel <jroedel@suse.de>2017-04-20 17:33:58 +0300
commit01611fe8478bf582af0c33d5853137dd25b72f2f (patch)
treed628536024fca66397b7f38248b76eac931ba762 /drivers/iommu/omap-iommu.h
parentede1c2e7d4dc49fb1591e1754db9d53fabbd4b8b (diff)
downloadlinux-01611fe8478bf582af0c33d5853137dd25b72f2f.tar.xz
iommu/omap: Make use of 'struct iommu_device'
Modify the driver to register individual iommus and establish links between devices and iommus in sysfs. Signed-off-by: Joerg Roedel <jroedel@suse.de> [s-anna@ti.com: fix some cleanup issues during failures] Signed-off-by: Suman Anna <s-anna@ti.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/omap-iommu.h')
-rw-r--r--drivers/iommu/omap-iommu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/iommu/omap-iommu.h b/drivers/iommu/omap-iommu.h
index f81184b549ec..758958a4712c 100644
--- a/drivers/iommu/omap-iommu.h
+++ b/drivers/iommu/omap-iommu.h
@@ -68,6 +68,8 @@ struct omap_iommu {
int has_bus_err_back;
u32 id;
+
+ struct iommu_device iommu;
};
/**