summaryrefslogtreecommitdiff
path: root/drivers/iommu
diff options
context:
space:
mode:
authorAtul Raut <araut@codeaurora.org>2017-01-29 22:06:18 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2017-04-06 01:23:25 -0700
commit9aa5d67e64944e7eeeb0eac8bbd2cc9f84c40716 (patch)
tree88886c3a4f9cc223529548bfe4872e39511d82a0 /drivers/iommu
parent57dcf47eb5a8216724608495cc3c26c3727ae0ea (diff)
dma-mapping: fix build when !CONFIG_ARM_SMMU
Allow compilation when CONFIG_ARM_SMMU is not selected by making CONFIG_IOMMU_IO_PGTABLE_FAST depends on CONFIG_ARM64_DMA_USE_IOMMU. Removed inclusion of dma-mapping-fast.h by dma-iommu.h. CRs-Fixed: 2000526 Change-Id: Iadfc236f848f46e6742a98581dbfdb13c7a2695e Signed-off-by: Atul Raut <araut@codeaurora.org>
Diffstat (limited to 'drivers/iommu')
-rw-r--r--drivers/iommu/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig
index f64111886584..7a504b1ad94d 100644
--- a/drivers/iommu/Kconfig
+++ b/drivers/iommu/Kconfig
@@ -41,7 +41,7 @@ config IOMMU_IO_PGTABLE_LPAE_SELFTEST
config IOMMU_IO_PGTABLE_FAST
bool "Fast ARMv7/v8 Long Descriptor Format"
- select IOMMU_IO_PGTABLE
+ depends on ARM64_DMA_USE_IOMMU
help
Enable support for a subset of the ARM long descriptor pagetable
format. This allocator achieves fast performance by