Commit ef1a85b6 authored by Christoph Hellwig's avatar Christoph Hellwig

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: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarRobin Murphy <robin.murphy@arm.com>
parent 170780be
...@@ -35,6 +35,7 @@ config SCIF_BUS ...@@ -35,6 +35,7 @@ config SCIF_BUS
config VOP_BUS config VOP_BUS
tristate "VOP Bus Driver" tristate "VOP Bus Driver"
depends on HAS_DMA
select DMA_OPS select DMA_OPS
help help
This option is selected by any driver which registers a This option is selected by any driver which registers a
......
...@@ -9,6 +9,7 @@ config HAS_DMA ...@@ -9,6 +9,7 @@ config HAS_DMA
default y default y
config DMA_OPS config DMA_OPS
depends on HAS_DMA
bool bool
# #
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment