From 6b385b46ee17d7e1a68d3411b8cdb2342e0f0445 Mon Sep 17 00:00:00 2001 From: Joerg Roedel Date: Thu, 7 Jul 2011 12:18:48 +0200 Subject: [PATCH] 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 --- drivers/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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/ -- 2.30.2