From: Laurent Pinchart Date: Wed, 27 Nov 2013 01:18:26 +0000 (+0100) Subject: iommu: shmobile: Enable driver compilation with COMPILE_TEST X-Git-Tag: next-20140108~35^2^4~2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=78a2e12f51d9ec37c328fa5a429c676eeeba8cd1;p=karo-tx-linux.git iommu: shmobile: Enable driver compilation with COMPILE_TEST This helps increasing build testing coverage. The driver doesn't compile on non-ARM platforms due to usage of the ARM DMA IOMMU API, restrict compilation to ARM. Cc: Joerg Roedel Cc: iommu@lists.linux-foundation.org Signed-off-by: Laurent Pinchart Acked-by: Simon Horman Signed-off-by: Joerg Roedel --- diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig index 3e7fdbb4916b..79bbc21c1d01 100644 --- a/drivers/iommu/Kconfig +++ b/drivers/iommu/Kconfig @@ -207,6 +207,7 @@ config SHMOBILE_IOMMU bool "IOMMU for Renesas IPMMU/IPMMUI" default n depends on ARM + depends on SH_MOBILE || COMPILE_TEST select IOMMU_API select ARM_DMA_USE_IOMMU select SHMOBILE_IPMMU