|
@@ -354,7 +354,7 @@ void iommu_fwspec_free(struct device *dev);
|
|
|
int iommu_fwspec_add_ids(struct device *dev, u32 *ids, int num_ids);
|
|
|
void iommu_register_instance(struct fwnode_handle *fwnode,
|
|
|
const struct iommu_ops *ops);
|
|
|
-const struct iommu_ops *iommu_get_instance(struct fwnode_handle *fwnode);
|
|
|
+const struct iommu_ops *iommu_ops_from_fwnode(struct fwnode_handle *fwnode);
|
|
|
|
|
|
#else /* CONFIG_IOMMU_API */
|
|
|
|
|
@@ -590,7 +590,7 @@ static inline void iommu_register_instance(struct fwnode_handle *fwnode,
|
|
|
}
|
|
|
|
|
|
static inline
|
|
|
-const struct iommu_ops *iommu_get_instance(struct fwnode_handle *fwnode)
|
|
|
+const struct iommu_ops *iommu_ops_from_fwnode(struct fwnode_handle *fwnode)
|
|
|
{
|
|
|
return NULL;
|
|
|
}
|