diff options
Diffstat (limited to 'include/linux/iommu.h')
-rw-r--r-- | include/linux/iommu.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/iommu.h b/include/linux/iommu.h index c78d068930b7..f56e559442a2 100644 --- a/include/linux/iommu.h +++ b/include/linux/iommu.h | |||
@@ -56,7 +56,7 @@ struct iommu_ops { | |||
56 | 56 | ||
57 | extern void register_iommu(struct iommu_ops *ops); | 57 | extern void register_iommu(struct iommu_ops *ops); |
58 | extern int bus_set_iommu(struct bus_type *bus, struct iommu_ops *ops); | 58 | extern int bus_set_iommu(struct bus_type *bus, struct iommu_ops *ops); |
59 | extern bool iommu_found(void); | 59 | extern bool iommu_present(struct bus_type *bus); |
60 | extern struct iommu_domain *iommu_domain_alloc(struct bus_type *bus); | 60 | extern struct iommu_domain *iommu_domain_alloc(struct bus_type *bus); |
61 | extern void iommu_domain_free(struct iommu_domain *domain); | 61 | extern void iommu_domain_free(struct iommu_domain *domain); |
62 | extern int iommu_attach_device(struct iommu_domain *domain, | 62 | extern int iommu_attach_device(struct iommu_domain *domain, |
@@ -76,7 +76,7 @@ extern int iommu_domain_has_cap(struct iommu_domain *domain, | |||
76 | 76 | ||
77 | struct iommu_ops {}; | 77 | struct iommu_ops {}; |
78 | 78 | ||
79 | static inline bool iommu_found(void) | 79 | static inline bool iommu_present(struct bus_type *bus) |
80 | { | 80 | { |
81 | return false; | 81 | return false; |
82 | } | 82 | } |