summaryrefslogtreecommitdiffstats
path: root/drivers/iommu/iommu.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-04-30 14:01:20 +0200
committerJoerg Roedel <jroedel@suse.de>2020-05-01 13:32:34 +0200
commitae74c19faa7d7996e857e13165bd40fc4a285e0d (patch)
tree56a0d55912766614261a2e3829fdeaca03b09d79 /drivers/iommu/iommu.c
parentba61c3da00f4a5bf8805aeca1ba5ac3c9bd82e96 (diff)
downloadlinux-stable-ae74c19faa7d7996e857e13165bd40fc4a285e0d.tar.gz
linux-stable-ae74c19faa7d7996e857e13165bd40fc4a285e0d.tar.bz2
linux-stable-ae74c19faa7d7996e857e13165bd40fc4a285e0d.zip
iommu: Properly export iommu_group_get_for_dev()
In commit a7ba5c3d008d ("drivers/iommu: Export core IOMMU API symbols to permit modular drivers") a bunch of iommu symbols were exported, all with _GPL markings except iommu_group_get_for_dev(). That export should also be _GPL like the others. Fixes: a7ba5c3d008d ("drivers/iommu: Export core IOMMU API symbols to permit modular drivers") Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Acked-by: Will Deacon <will@kernel.org> Cc: Joerg Roedel <jroedel@suse.de> Cc: John Garry <john.garry@huawei.com> Cc: Will Deacon <will@kernel.org> Link: https://lore.kernel.org/r/20200430120120.2948448-1-gregkh@linuxfoundation.org Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/iommu.c')
-rw-r--r--drivers/iommu/iommu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/iommu.c b/drivers/iommu/iommu.c
index 54757c404866..7b375421afba 100644
--- a/drivers/iommu/iommu.c
+++ b/drivers/iommu/iommu.c
@@ -1429,7 +1429,7 @@ struct iommu_group *iommu_group_get_for_dev(struct device *dev)
return group;
}
-EXPORT_SYMBOL(iommu_group_get_for_dev);
+EXPORT_SYMBOL_GPL(iommu_group_get_for_dev);
struct iommu_domain *iommu_group_default_domain(struct iommu_group *group)
{