Commit 6b385b46ee17d7e1a68d3411b8cdb2342e0f0445

Authored by Joerg Roedel
1 parent 17f5b569e0

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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -122,5 +122,5 @@
122 122 obj-y += clk/
123 123  
124 124 obj-$(CONFIG_HWSPINLOCK) += hwspinlock/
125   -obj-$(CONFIG_IOMMU_API) += iommu/
  125 +obj-$(CONFIG_IOMMU_SUPPORT) += iommu/