On Mon, Jun 29, 2020 at 02:11:46PM +0200, Geert Uytterhoeven wrote: > 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 <ge...@linux-m68k.org>
Acked-by: Maxime Ripard <mrip...@kernel.org> Thanks! Maxime
signature.asc
Description: PGP signature
_______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu