diff options
author | Laurent Pinchart <[email protected]> | 2013-11-27 02:18:26 +0100 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2014-01-07 15:10:11 +0100 |
commit | 78a2e12f51d9ec37c328fa5a429c676eeeba8cd1 (patch) | |
tree | 5bf9425dd0fc5309c4cd4454f882147818718be3 | |
parent | d6e0a2dd12f4067a5bcefb8bbd8ddbeff800afbc (diff) |
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]>
-rw-r--r-- | drivers/iommu/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
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 |