浏览代码

iommu/exynos: Fix arm64 allmodconfig build

The Exynos IOMMU driver uses the ARM specific dmac_flush_range() and
outer_flush_range() functions. This breaks the build on arm64 allmodconfig
in -next since support has been merged for some Exynos ARMv8 SoCs. Add a
dependency on ARM to keep things building until either the driver has the
ARM dependencies removed or the ARMv8 architecture code implements these
ARM specific APIs.

Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Mark Brown 10 年之前
父节点
当前提交
20911ce607
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/iommu/Kconfig

+ 1 - 1
drivers/iommu/Kconfig

@@ -174,7 +174,7 @@ config TEGRA_IOMMU_SMMU
 
 
 config EXYNOS_IOMMU
 config EXYNOS_IOMMU
 	bool "Exynos IOMMU Support"
 	bool "Exynos IOMMU Support"
-	depends on ARCH_EXYNOS
+	depends on ARCH_EXYNOS && ARM
 	select IOMMU_API
 	select IOMMU_API
 	select ARM_DMA_USE_IOMMU
 	select ARM_DMA_USE_IOMMU
 	help
 	help