Skip to content
Commit 2cdd3ca6 authored by YueHaibing's avatar YueHaibing Committed by Vinod Koul
Browse files

dmaengine: tegra: Fix build error without IOMMU_API



drivers/dma/tegra186-gpc-dma.c: In function ‘tegra_dma_probe’:
drivers/dma/tegra186-gpc-dma.c:1364:24: error: ‘struct iommu_fwspec’ has no member named ‘ids’
  stream_id = iommu_spec->ids[0] & 0xffff;
                        ^~

Make TEGRA186_GPC_DMA depends on IOMMU_API to fix this.

Fixes: ee170280 ("dmaengine: tegra: Add tegra gpcdma driver")
Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20220505093236.15076-1-yuehaibing@huawei.com


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent d5a8fe0f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment