diff options
author | Alexey Kardashevskiy <aik@ozlabs.ru> | 2013-11-21 01:41:14 -0500 |
---|---|---|
committer | Joerg Roedel <joro@8bytes.org> | 2013-12-30 09:17:31 -0500 |
commit | b62dfd29eeaf12f8bc79a50f680901e84b351851 (patch) | |
tree | a469fe6670a31deec3607c2ae596e5457f0a948b /include/linux/iommu.h | |
parent | 802eee95bde72fd0cd0f3a5b2098375a487d1eda (diff) |
iommu: Add empty stub for iommu_group_get_by_id()
Almost every function in include/linux/iommu.h has an empty stub
but the iommu_group_get_by_id() did not get one by mistake.
This adds an empty stub for iommu_group_get_by_id() for IOMMU_API
disabled config.
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Joerg Roedel <joro@8bytes.org>
Diffstat (limited to 'include/linux/iommu.h')
-rw-r--r-- | include/linux/iommu.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/iommu.h b/include/linux/iommu.h index a444c790fa72..01ed7345f508 100644 --- a/include/linux/iommu.h +++ b/include/linux/iommu.h | |||
@@ -247,6 +247,11 @@ static inline struct iommu_domain *iommu_domain_alloc(struct bus_type *bus) | |||
247 | return NULL; | 247 | return NULL; |
248 | } | 248 | } |
249 | 249 | ||
250 | static inline struct iommu_group *iommu_group_get_by_id(int id) | ||
251 | { | ||
252 | return NULL; | ||
253 | } | ||
254 | |||
250 | static inline void iommu_domain_free(struct iommu_domain *domain) | 255 | static inline void iommu_domain_free(struct iommu_domain *domain) |
251 | { | 256 | { |
252 | } | 257 | } |