From: Joerg Roedel Date: Thu, 7 Jul 2011 10:18:48 +0000 (+0200) Subject: iommu/core: Fix build with INTR_REMAP=y && CONFIG_DMAR=n X-Git-Tag: firefly_0821_release~3680^2~4995^2^2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=6b385b46ee17d7e1a68d3411b8cdb2342e0f0445;p=firefly-linux-kernel-4.4.55.git 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 --- 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/