From: Linus Torvalds Date: Sat, 16 Nov 2013 02:57:42 +0000 (-0800) Subject: Don't try to compile shmobile-iommu outside of ARM X-Git-Tag: v3.13-rc1~62 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=f63c4824aa1b745cf283453fd53385230307d8d1;p=linux.git 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 , 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 Cc: iommu@lists.linux-foundation.org Cc: Laurent Pinchart Cc: Simon Horman Signed-off-by: Linus Torvalds --- 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 config SHMOBILE_IOMMU bool "IOMMU for Renesas IPMMU/IPMMUI" default n - depends on ARM || COMPILE_TEST + depends on ARM select IOMMU_API select ARM_DMA_USE_IOMMU select SHMOBILE_IPMMU