summaryrefslogtreecommitdiff
path: root/drivers/iommu/omap-iommu.h
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@nvidia.com>2023-08-22 19:16:02 +0300
committerJoerg Roedel <jroedel@suse.de>2023-09-25 12:52:08 +0300
commitebfdc4569eabeacd5ef52364ac0496981652c055 (patch)
tree16eb2bd337b05660300e0510028945925475291f /drivers/iommu/omap-iommu.h
parent8f68911efc16feba1faf073ebea53f6a5b363e7c (diff)
downloadlinux-ebfdc4569eabeacd5ef52364ac0496981652c055.tar.xz
iommu/omap: Convert to generic_single_device_group()
Use the new helper. For some reason omap will probe its driver even if it doesn't load an iommu driver. Keep this working by keeping a bool to track if the iommu driver was started. Signed-off-by: Jason Gunthorpe <jgg@nvidia.com> Link: https://lore.kernel.org/r/7-v1-c869a95191f2+5e8-iommu_single_grp_jgg@nvidia.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, 1 insertions, 1 deletions
diff --git a/drivers/iommu/omap-iommu.h b/drivers/iommu/omap-iommu.h
index 18ee713ede78..27697109ec79 100644
--- a/drivers/iommu/omap-iommu.h
+++ b/drivers/iommu/omap-iommu.h
@@ -80,7 +80,7 @@ struct omap_iommu {
u32 id;
struct iommu_device iommu;
- struct iommu_group *group;
+ bool has_iommu_driver;
u8 pwrst;
};