From: Alexey Kardashevskiy Date: Thu, 21 Nov 2013 06:41:14 +0000 (+1100) Subject: iommu: Add empty stub for iommu_group_get_by_id() X-Git-Tag: next-20140108~35^2^2~1 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=b62dfd29eeaf12f8bc79a50f680901e84b351851;p=karo-tx-linux.git 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 Signed-off-by: Joerg Roedel --- 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) return NULL; } +static inline struct iommu_group *iommu_group_get_by_id(int id) +{ + return NULL; +} + static inline void iommu_domain_free(struct iommu_domain *domain) { }