diff options
Diffstat (limited to 'include/linux/of_iommu.h')
-rw-r--r-- | include/linux/of_iommu.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/linux/of_iommu.h b/include/linux/of_iommu.h index cddfaff4d0b7..4fa654e4b5a9 100644 --- a/include/linux/of_iommu.h +++ b/include/linux/of_iommu.h | |||
@@ -34,9 +34,6 @@ static inline const struct iommu_ops *of_iommu_configure(struct device *dev, | |||
34 | 34 | ||
35 | extern struct of_device_id __iommu_of_table; | 35 | extern struct of_device_id __iommu_of_table; |
36 | 36 | ||
37 | typedef int (*of_iommu_init_fn)(struct device_node *); | 37 | #define IOMMU_OF_DECLARE(name, compat) OF_DECLARE_1(iommu, name, compat, NULL) |
38 | |||
39 | #define IOMMU_OF_DECLARE(name, compat, fn) \ | ||
40 | _OF_DECLARE(iommu, name, compat, fn, of_iommu_init_fn) | ||
41 | 38 | ||
42 | #endif /* __OF_IOMMU_H */ | 39 | #endif /* __OF_IOMMU_H */ |