aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/c++/clang.cpp
diff options
context:
space:
mode:
authorGeert Uytterhoeven <[email protected]>2020-06-29 14:11:46 +0200
committerJoerg Roedel <[email protected]>2020-06-30 12:09:06 +0200
commitc7451e495b2abfc35b2bb4347c8d0aaa7699df26 (patch)
tree97e400c52869086682004fb6ee8d3d7b8c5c8401 /tools/perf/util/c++/clang.cpp
parentce0fd3892bfafca7cd352638ba84e8c17658b803 (diff)
iommu: SUN50I_IOMMU should depend on HAS_DMA
If NO_DMA=y (e.g. Sun-3 all{mod,yes}-config): drivers/iommu/dma-iommu.o: In function `iommu_dma_mmap': dma-iommu.c:(.text+0x92e): undefined reference to `dma_pgprot' IOMMU_DMA must not be selected, unless HAS_DMA=y. Hence fix this by making SUN50I_IOMMU depend on HAS_DMA. Fixes: 4100b8c229b32835 ("iommu: Add Allwinner H6 IOMMU driver") Signed-off-by: Geert Uytterhoeven <[email protected]> Acked-by: Maxime Ripard <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions