[PATCH openEuler-21.09 2/3] iommu: fix build error when CONFIG_IOMMU_API is off