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
35 35
36config VOP_BUS36config VOP_BUS
37 tristate "VOP Bus Driver"37 tristate "VOP Bus Driver"
38 depends on HAS_DMA
38 select DMA_OPS39 select DMA_OPS
39 help40 help
40 This option is selected by any driver which registers a41 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
9 default y9 default y
10 10
11config DMA_OPS11config DMA_OPS
12 depends on HAS_DMA
12 bool13 bool
13 14
14#15#

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