dmaengine: tegra: Fix build error without IOMMU_API
authorYueHaibing <yuehaibing@huawei.com>
Thu, 5 May 2022 09:32:36 +0000 (17:32 +0800)
committerVinod Koul <vkoul@kernel.org>
Thu, 19 May 2022 17:16:39 +0000 (22:46 +0530)
commit2cdd3ca67aeabf4d6274af2d1c7e22f17a33dd64
treed53dd760cbfbddc4a80c149a93422d80a594a71b
parentd5a8fe0fee54d830c47959f625ffc41d080ee526
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: ee17028009d4 ("dmaengine: tegra: Add tegra gpcdma driver")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20220505093236.15076-1-yuehaibing@huawei.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/Kconfig