diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-11-15 21:57:42 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-11-15 21:57:42 -0500 |
commit | f63c4824aa1b745cf283453fd53385230307d8d1 (patch) | |
tree | b773366ecb8f74f9965d8db301881f94125b1fab /drivers/iommu | |
parent | e0da5c9a49b927d9e5f62b21a7abc283e99022e2 (diff) |
Don't try to compile shmobile-iommu outside of ARM
Commit 7d02c4d64dbb ("iommu/shmobile: Enable the driver on all ARM
platforms") completely brokenly enabled the shmobile-iommu driver under
COMPILE_TEST.
It's bogus, because it won't compile anywhere else than ARM, since it
tries to include <asm/dma-iommu.h>, which is very much ARM-only.
So remove the bogus COMPILE_TEST dependency, which just causes
allmodconfig to fail on non-ARM platforms.
Cc: Joerg Roedel <joro@8bytes.org>
Cc: iommu@lists.linux-foundation.org
Cc: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Cc: Simon Horman <horms@verge.net.au>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/iommu')
-rw-r--r-- | drivers/iommu/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig index 9fd51e51e78b..3e7fdbb4916b 100644 --- a/drivers/iommu/Kconfig +++ b/drivers/iommu/Kconfig | |||
@@ -206,7 +206,7 @@ config SHMOBILE_IPMMU_TLB | |||
206 | config SHMOBILE_IOMMU | 206 | config SHMOBILE_IOMMU |
207 | bool "IOMMU for Renesas IPMMU/IPMMUI" | 207 | bool "IOMMU for Renesas IPMMU/IPMMUI" |
208 | default n | 208 | default n |
209 | depends on ARM || COMPILE_TEST | 209 | depends on ARM |
210 | select IOMMU_API | 210 | select IOMMU_API |
211 | select ARM_DMA_USE_IOMMU | 211 | select ARM_DMA_USE_IOMMU |
212 | select SHMOBILE_IPMMU | 212 | select SHMOBILE_IPMMU |