diff options
author | Joerg Roedel <jroedel@suse.de> | 2017-01-30 16:01:16 +0100 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2017-01-30 16:01:16 +0100 |
commit | aac7d39f200de84c511f79d9e9da286e1288f176 (patch) | |
tree | 52045d1755acf0dd43b03a46e4c39b3f22991c82 /include/linux/of_iommu.h | |
parent | 566cf877a1fcb6d6dc0126b076aad062054c2637 (diff) | |
parent | 3677a649a751c8f061ba379a98c369473ccac980 (diff) |
Merge branch 'for-joerg/arm-smmu/updates' of git://git.kernel.org/pub/scm/linux/kernel/git/will/linux into arm/smmu
Diffstat (limited to 'include/linux/of_iommu.h')
-rw-r--r-- | include/linux/of_iommu.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/include/linux/of_iommu.h b/include/linux/of_iommu.h index 6a7fc5051099..13394ac83c66 100644 --- a/include/linux/of_iommu.h +++ b/include/linux/of_iommu.h @@ -31,17 +31,6 @@ static inline const struct iommu_ops *of_iommu_configure(struct device *dev, #endif /* CONFIG_OF_IOMMU */ -static inline void of_iommu_set_ops(struct device_node *np, - const struct iommu_ops *ops) -{ - iommu_register_instance(&np->fwnode, ops); -} - -static inline const struct iommu_ops *of_iommu_get_ops(struct device_node *np) -{ - return iommu_get_instance(&np->fwnode); -} - extern struct of_device_id __iommu_of_table; typedef int (*of_iommu_init_fn)(struct device_node *); |