Skip to content

Commit ef1a85b

Browse files
author
Christoph Hellwig
committed
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>
1 parent 170780b commit ef1a85b

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

‎drivers/misc/mic/Kconfig‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ config SCIF_BUS
3535

3636
config VOP_BUS
3737
tristate "VOP Bus Driver"
38+
depends on HAS_DMA
3839
select DMA_OPS
3940
help
4041
This option is selected by any driver which registers a

‎kernel/dma/Kconfig‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ config HAS_DMA
99
default y
1010

1111
config DMA_OPS
12+
depends on HAS_DMA
1213
bool
1314

1415
#

0 commit comments

Comments
 (0)