aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/dma
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-08-29 10:40:28 +0200
committerChristoph Hellwig <hch@lst.de>2020-09-11 09:09:41 +0200
commitef1a85b6ca093abb00fbc38ea55fd9ae08ab05ef (patch)
tree4d9918d0dfa0a86cc31901782da23cb2a4829615 /kernel/dma
parentMIPS/jazzdma: decouple from dma-direct (diff)
downloadlinux-dev-ef1a85b6ca093abb00fbc38ea55fd9ae08ab05ef.tar.xz
linux-dev-ef1a85b6ca093abb00fbc38ea55fd9ae08ab05ef.zip
dma-mapping: fix DMA_OPS dependencies
Driver that select DMA_OPS need to depend on HAS_DMA support to work. The vop driver was missing that dependency, so add it, and also add a another depends in DMA_OPS itself. That won't fix the issue due to how the Kconfig dependencies work, but at least produce a warning about unmet dependencies. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Diffstat (limited to 'kernel/dma')
-rw-r--r--kernel/dma/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/dma/Kconfig b/kernel/dma/Kconfig
index 0ddfb5510fe4..e7b801649f65 100644
--- a/kernel/dma/Kconfig
+++ b/kernel/dma/Kconfig
@@ -9,6 +9,7 @@ config HAS_DMA
default y
config DMA_OPS
+ depends on HAS_DMA
bool
#