powerpc/eeh: Export eeh_iommu_group_to_pe()
authorGavin Shan <gwshan@linux.vnet.ibm.com>
Thu, 7 Aug 2014 02:47:16 +0000 (12:47 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 7 Aug 2014 03:00:02 +0000 (13:00 +1000)
The function is used by VFIO driver, which might be built as a
dynamic module. So it should be exported.

Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/eeh.c

index 604387979402aff6c1dcfe3352ec4ecc10c5bd06..59a64f8dc85f4cbd771e68b72ebaf8019429eeb3 100644 (file)
@@ -1254,6 +1254,7 @@ struct eeh_pe *eeh_iommu_group_to_pe(struct iommu_group *group)
 
        return edev->pe;
 }
+EXPORT_SYMBOL_GPL(eeh_iommu_group_to_pe);
 
 #endif /* CONFIG_IOMMU_API */