mirror of https://gitee.com/openkylin/linux.git
iommu: Properly export iommu_group_get_for_dev()
In commita7ba5c3d00
("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:a7ba5c3d00
("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>
This commit is contained in:
parent
ba61c3da00
commit
ae74c19faa
|
@ -1429,7 +1429,7 @@ struct iommu_group *iommu_group_get_for_dev(struct device *dev)
|
||||||
|
|
||||||
return group;
|
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)
|
struct iommu_domain *iommu_group_default_domain(struct iommu_group *group)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue