summaryrefslogtreecommitdiffstats
path: root/drivers/iommu/Kconfig
diff options
context:
space:
mode:
authorSudeep Dutt <sudeep.dutt@intel.com>2015-09-30 03:09:05 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-04 13:46:06 +0200
commit353649e5da909070146ca729acd38726bf2059c5 (patch)
treebe9f9cf6eb6ac0ae2b8caafb7184c7037ba6434d /drivers/iommu/Kconfig
parentiommu: Make the iova library a module (diff)
downloadlinux-353649e5da909070146ca729acd38726bf2059c5.tar.xz
linux-353649e5da909070146ca729acd38726bf2059c5.zip
iommu: Allow iova to be used without requiring IOMMU_SUPPORT
iova is a library which can be built without IOMMU_SUPPORT Signed-off-by: Sudeep Dutt <sudeep.dutt@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to '')
-rw-r--r--drivers/iommu/Kconfig6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig
index d9da766719c8..71d1c46f4a2b 100644
--- a/drivers/iommu/Kconfig
+++ b/drivers/iommu/Kconfig
@@ -12,6 +12,9 @@ menuconfig IOMMU_SUPPORT
remap DMA requests and/or remap interrupts from other devices on the
system.
+config IOMMU_IOVA
+ tristate
+
if IOMMU_SUPPORT
menu "Generic IOMMU Pagetable Support"
@@ -42,9 +45,6 @@ config IOMMU_IO_PGTABLE_LPAE_SELFTEST
endmenu
-config IOMMU_IOVA
- tristate
-
config OF_IOMMU
def_bool y
depends on OF && IOMMU_API