iommu/core: Fix build with INTR_REMAP=y && CONFIG_DMAR=n
authorJoerg Roedel <joerg.roedel@amd.com>
Thu, 7 Jul 2011 10:18:48 +0000 (12:18 +0200)
committerJoerg Roedel <joerg.roedel@amd.com>
Thu, 7 Jul 2011 10:18:48 +0000 (12:18 +0200)
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>
drivers/Makefile

index 2f7a71a933de9a5840c9cdd97bd3347185407c7b..2b551e971726a0ce14d39152f2cd58491bd0855c 100644 (file)
@@ -122,4 +122,4 @@ obj-y                               += ieee802154/
 obj-y                          += clk/
 
 obj-$(CONFIG_HWSPINLOCK)       += hwspinlock/
-obj-$(CONFIG_IOMMU_API)                += iommu/
+obj-$(CONFIG_IOMMU_SUPPORT)    += iommu/