Messages in this thread | | | Date | Mon, 29 Jun 2020 15:27:00 +0200 | From | Maxime Ripard <> | Subject | Re: [PATCH] iommu: SUN50I_IOMMU should depend on HAS_DMA |
| |
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 <geert@linux-m68k.org>
Acked-by: Maxime Ripard <mripard@kernel.org>
Thanks! Maxime [unhandled content-type:application/pgp-signature] | |