This enables IOMMU API if CONFIG_CCW is configured.
Signed-off-by: Dong Jia Shi <[email protected]>
Reviewed-by: Pierre Morel <[email protected]>
---
drivers/iommu/Kconfig | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig
index dd1dc39..63bbc3d 100644
--- a/drivers/iommu/Kconfig
+++ b/drivers/iommu/Kconfig
@@ -331,11 +331,11 @@ config ARM_SMMU_V3
the ARM SMMUv3 architecture.
config S390_IOMMU
- def_bool y if S390 && PCI
- depends on S390 && PCI
+ def_bool y
+ depends on S390 && (PCI || CCW)
select IOMMU_API
help
- Support for the IOMMU API for s390 PCI devices.
+ Support for the IOMMU API for s390 PCI and CCW devices.
config MTK_IOMMU
bool "MTK IOMMU Support"
--
2.6.6