diff options
| author | Mitchel Humpherys <mitchelh@codeaurora.org> | 2014-12-18 17:03:04 -0800 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-22 11:10:58 -0700 |
| commit | 6e0817546a1f3e11537a6c738575ce7ab4be17bb (patch) | |
| tree | 041e0564d580a7909b6b34027508f9b036821c52 /include | |
| parent | 95d01c7209a5719552d42a81a82cb094d7eebcf5 (diff) | |
arm64: dma-mapping: fix build when !CONFIG_ARM64_DMA_USE_IOMMU
When CONFIG_ARM64_DMA_USE_IOMMU is not selected, drivers that make use
of the ARM DMA IOMMU mapping APIs currently don't link. First instinct
might be to add a dependency on CONFIG_ARM64_DMA_USE_IOMMU to those
drivers, but they might not actually want to do that because they might
have other ways of getting DMA-able memory.
Allow compilation when CONFIG_ARM64_DMA_USE_IOMMU is not selected by
providing necessary stub functions.
Change-Id: I172e00a0748c70676b8ff7555e217a1e6122e3e6
Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
