History

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.

Christoph Hellwig committed 6 years ago

Commit ef1a85b1 parent 170780b2 files · +2 −0Browse files

Unified · Split

2 files
  1. drivers/misc/mic/Kconfig +1 −0
  2. kernel/dma/Kconfig +1 −0
drivers/misc/mic/Kconfig+1−0
@@ -35,6 +35,7 @@ config SCIF_BUS · 34 unmodified lines
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+1−0
@@ -9,6 +9,7 @@ config HAS_DMA · 8 unmodified lines
99 default y
1010
1111 config DMA_OPS
12+ depends on HAS_DMA
1213 bool
1314
1415 #

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t