OSDN Git Service

dma-mapping: fix DMA_OPS dependencies
authorChristoph Hellwig <hch@lst.de>
Sat, 29 Aug 2020 08:40:28 +0000 (10:40 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 11 Sep 2020 07:09:41 +0000 (09:09 +0200)
commitef1a85b6ca093abb00fbc38ea55fd9ae08ab05ef
tree4d9918d0dfa0a86cc31901782da23cb2a4829615
parent170780be324da2c32ec0f7e9de2ebd0c4370ade5
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>
drivers/misc/mic/Kconfig
kernel/dma/Kconfig