[PATCH RFC 1/8] iommu: s390: enable iommu api for s390 ccw devices

Dong Jia Shi
2016-04-29T12:11:48Z

This enables IOMMU API if CONFIG_CCW is configured.

Signed-off-by: Dong Jia Shi <bjsdjshi@linux.vnet.ibm.com>
Reviewed-by: Pierre Morel <pmorel@linux.vnet.ibm.com>
---
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