diff options
author | Christoph Hellwig <hch@lst.de> | 2020-08-29 11:40:28 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2020-09-11 10:09:41 +0300 |
commit | ef1a85b6ca093abb00fbc38ea55fd9ae08ab05ef (patch) | |
tree | 4d9918d0dfa0a86cc31901782da23cb2a4829615 | |
parent | 170780be324da2c32ec0f7e9de2ebd0c4370ade5 (diff) | |
download | linux-ef1a85b6ca093abb00fbc38ea55fd9ae08ab05ef.tar.xz |
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>
-rw-r--r-- | drivers/misc/mic/Kconfig | 1 | ||||
-rw-r--r-- | kernel/dma/Kconfig | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/misc/mic/Kconfig b/drivers/misc/mic/Kconfig index b9bb086785db..8a7c2c5711d5 100644 --- a/drivers/misc/mic/Kconfig +++ b/drivers/misc/mic/Kconfig @@ -35,6 +35,7 @@ config SCIF_BUS config VOP_BUS tristate "VOP Bus Driver" + depends on HAS_DMA select DMA_OPS help This option is selected by any driver which registers a 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 # |