]> git.ipfire.org Git - thirdparty/linux.git/blobdiff - include/linux/of_iommu.h
iommu: Implement of_iommu_get_resv_regions()
[thirdparty/linux.git] / include / linux / of_iommu.h
index 55c1eb300a86bb5af06b709be5b522db8ee1d9f1..9a5e6b410dd2fb154c40da4139514c0945f6e370 100644 (file)
@@ -12,6 +12,9 @@ extern const struct iommu_ops *of_iommu_configure(struct device *dev,
                                        struct device_node *master_np,
                                        const u32 *id);
 
+extern void of_iommu_get_resv_regions(struct device *dev,
+                                     struct list_head *list);
+
 #else
 
 static inline const struct iommu_ops *of_iommu_configure(struct device *dev,
@@ -21,6 +24,11 @@ static inline const struct iommu_ops *of_iommu_configure(struct device *dev,
        return NULL;
 }
 
+static inline void of_iommu_get_resv_regions(struct device *dev,
+                                            struct list_head *list)
+{
+}
+
 #endif /* CONFIG_OF_IOMMU */
 
 #endif /* __OF_IOMMU_H */