summaryrefslogtreecommitdiff
path: root/drivers/Makefile
diff options
context:
space:
mode:
authorJoerg Roedel <joerg.roedel@amd.com>2011-07-07 12:18:48 +0200
committerJoerg Roedel <joerg.roedel@amd.com>2011-07-07 12:18:48 +0200
commit6b385b46ee17d7e1a68d3411b8cdb2342e0f0445 (patch)
treed59663acb162eca283ffca6a3746622c9fc090ce /drivers/Makefile
parent17f5b569e09cfa3488eaa663cbf9feada2e789f5 (diff)
downloadlwn-6b385b46ee17d7e1a68d3411b8cdb2342e0f0445.tar.gz
lwn-6b385b46ee17d7e1a68d3411b8cdb2342e0f0445.zip
iommu/core: Fix build with INTR_REMAP=y && CONFIG_DMAR=n
IOMMU_API is not selected when no DMA remapping driver is selected, but the whole drivers/iommu/ directory is only built with IOMMU_API=y. Fixed with this patch by including the directory with IOMMU_SUPPORT instead. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'drivers/Makefile')
-rw-r--r--drivers/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/Makefile b/drivers/Makefile
index 2f7a71a933de..2b551e971726 100644
--- a/drivers/Makefile
+++ b/drivers/Makefile
@@ -122,4 +122,4 @@ obj-y += ieee802154/
obj-y += clk/
obj-$(CONFIG_HWSPINLOCK) += hwspinlock/
-obj-$(CONFIG_IOMMU_API) += iommu/
+obj-$(CONFIG_IOMMU_SUPPORT) += iommu/