]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
iommu: Allow iova to be used without requiring IOMMU_SUPPORT
authorSudeep Dutt <sudeep.dutt@intel.com>
Wed, 30 Sep 2015 01:09:05 +0000 (18:09 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 Oct 2015 11:46:06 +0000 (12:46 +0100)
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>
drivers/iommu/Kconfig

index d9da766719c863327d4a8563804994c3edfd01c0..71d1c46f4a2b5333ff61bc576abd9bab2e3ada0d 100644 (file)
@@ -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