diff options
author | 2022-05-05 17:32:36 +0800 | |
---|---|---|
committer | 2022-05-19 22:46:39 +0530 | |
commit | 2cdd3ca67aeabf4d6274af2d1c7e22f17a33dd64 (patch) | |
tree | d53dd760cbfbddc4a80c149a93422d80a594a71b | |
parent | dmaengine: dw: Add RZN1 compatible (diff) | |
download | linux-2cdd3ca67aeabf4d6274af2d1c7e22f17a33dd64.tar.gz linux-2cdd3ca67aeabf4d6274af2d1c7e22f17a33dd64.tar.bz2 linux-2cdd3ca67aeabf4d6274af2d1c7e22f17a33dd64.zip |
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>
-rw-r--r-- | drivers/dma/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig index cc1464e4acde..857b2174a4cb 100644 --- a/drivers/dma/Kconfig +++ b/drivers/dma/Kconfig @@ -632,6 +632,7 @@ config TXX9_DMAC config TEGRA186_GPC_DMA tristate "NVIDIA Tegra GPC DMA support" depends on (ARCH_TEGRA || COMPILE_TEST) && ARCH_DMA_ADDR_T_64BIT + depends on IOMMU_API select DMA_ENGINE help Support for the NVIDIA Tegra General Purpose Central DMA controller. |