From: Joerg Roedel <jroe...@suse.de>

For easier compile testing of these iommu drivers.

Signed-off-by: Joerg Roedel <jroe...@suse.de>
---
 drivers/iommu/Kconfig | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig
index 325188e..dfa6cf1 100644
--- a/drivers/iommu/Kconfig
+++ b/drivers/iommu/Kconfig
@@ -19,7 +19,8 @@ config OF_IOMMU
 
 config FSL_PAMU
        bool "Freescale IOMMU support"
-       depends on PPC_E500MC
+       depends on PPC32
+       depends on PPC_E500MC || COMPILE_TEST
        select IOMMU_API
        select GENERIC_ALLOCATOR
        help
@@ -30,7 +31,8 @@ config FSL_PAMU
 # MSM IOMMU support
 config MSM_IOMMU
        bool "MSM IOMMU Support"
-       depends on ARCH_MSM8X60 || ARCH_MSM8960
+       depends on ARM
+       depends on ARCH_MSM8X60 || ARCH_MSM8960 || COMPILE_TEST
        select IOMMU_API
        help
          Support for the IOMMUs found on certain Qualcomm SOCs.
@@ -140,7 +142,8 @@ config IRQ_REMAP
 # OMAP IOMMU support
 config OMAP_IOMMU
        bool "OMAP IOMMU Support"
-       depends on ARCH_OMAP2PLUS
+       depends on ARM
+       depends on ARCH_OMAP2PLUS || COMPILE_TEST
        select IOMMU_API
 
 config OMAP_IOMMU_DEBUG
-- 
1.9.1

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

Reply via email to