The function is used by VFIO driver, which might be built as a dynamic module. So it should be exported.
Unified · Split
| @@ -1254,6 +1254,7 @@ struct eeh_pe *eeh_iommu_group_to_pe(struct iommu_group *group) · 1253 unmodified lines | ||
| 1254 | 1254 | |
| 1255 | 1255 | return edev->pe; |
| 1256 | 1256 | } |
| 1257 | +EXPORT_SYMBOL_GPL(eeh_iommu_group_to_pe); | |
| 1257 | 1258 | |
| 1258 | 1259 | #endif /* CONFIG_IOMMU_API */ |
| 1259 | 1260 | |