drivers/iommu: Export core IOMMU API symbols to permit modular drivers
authorWill Deacon <will@kernel.org>
Thu, 19 Dec 2019 12:03:37 +0000 (12:03 +0000)
committerJoerg Roedel <jroedel@suse.de>
Mon, 23 Dec 2019 13:06:05 +0000 (14:06 +0100)
commita7ba5c3d008dd78d881a1658eae5a2275ebd5087
treee83b842fa21df0a74395a3ad80b8c20559f41f2c
parent46cf053efec6a3a5f343fead837777efe8252a46
drivers/iommu: Export core IOMMU API symbols to permit modular drivers

Building IOMMU drivers as modules requires that the core IOMMU API
symbols are exported as GPL symbols.

Signed-off-by: Will Deacon <will@kernel.org>
Tested-by: John Garry <john.garry@huawei.com> # smmu v3
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/iommu-sysfs.c
drivers/iommu/iommu.c