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 <[email protected]>
Cc: [email protected]
Signed-off-by: Laurent Pinchart <[email protected]>
Acked-by: Simon Horman <[email protected]>
Signed-off-by: Joerg Roedel <[email protected]>
This commit is contained in:
Laurent Pinchart
2014-01-07 15:10:11 +01:00
committed by Joerg Roedel
parent d6e0a2dd12
commit 78a2e12f51
+1
View File
@@ -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