diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/iommu.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/include/linux/iommu.h b/include/linux/iommu.h index c7097d7f024c..20f9a527922a 100644 --- a/include/linux/iommu.h +++ b/include/linux/iommu.h | |||
| @@ -403,23 +403,24 @@ static inline int iommu_domain_set_attr(struct iommu_domain *domain, | |||
| 403 | return -EINVAL; | 403 | return -EINVAL; |
| 404 | } | 404 | } |
| 405 | 405 | ||
| 406 | struct device *iommu_device_create(struct device *parent, void *drvdata, | 406 | static inline struct device *iommu_device_create(struct device *parent, |
| 407 | const struct attribute_group **groups, | 407 | void *drvdata, |
| 408 | const char *fmt, ...) | 408 | const struct attribute_group **groups, |
| 409 | const char *fmt, ...) | ||
| 409 | { | 410 | { |
| 410 | return ERR_PTR(-ENODEV); | 411 | return ERR_PTR(-ENODEV); |
| 411 | } | 412 | } |
| 412 | 413 | ||
| 413 | void iommu_device_destroy(struct device *dev) | 414 | static inline void iommu_device_destroy(struct device *dev) |
| 414 | { | 415 | { |
| 415 | } | 416 | } |
| 416 | 417 | ||
| 417 | int iommu_device_link(struct device *dev, struct device *link) | 418 | static inline int iommu_device_link(struct device *dev, struct device *link) |
| 418 | { | 419 | { |
| 419 | return -EINVAL; | 420 | return -EINVAL; |
| 420 | } | 421 | } |
| 421 | 422 | ||
| 422 | void iommu_device_unlink(struct device *dev, struct device *link) | 423 | static inline void iommu_device_unlink(struct device *dev, struct device *link) |
| 423 | { | 424 | { |
| 424 | } | 425 | } |
| 425 | 426 | ||
