[PATCH 2/4] iommu/exynos: Make driver depend on REGULATOR

From: Joerg Roedel
Date: Mon Jan 26 2015 - 18:51:10 EST


From: Joerg Roedel <jroedel@xxxxxxx>

When regulator is not selected during kconfig, linking of
the exynos iommu driver fails due to missing symbols.
Fix it!

Signed-off-by: Joerg Roedel <jroedel@xxxxxxx>
---
drivers/iommu/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig
index dfa6cf1..2e6100d 100644
--- a/drivers/iommu/Kconfig
+++ b/drivers/iommu/Kconfig
@@ -190,7 +190,7 @@ config TEGRA_IOMMU_SMMU

config EXYNOS_IOMMU
bool "Exynos IOMMU Support"
- depends on ARCH_EXYNOS && ARM
+ depends on ARCH_EXYNOS && ARM && REGULATOR
select IOMMU_API
select ARM_DMA_USE_IOMMU
help
--
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/