projects
/
platform
/
kernel
/
linux-rpi3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a736e0
)
ata: ATA_BMDMA should depend on HAS_DMA
author
Geert Uytterhoeven
<geert@linux-m68k.org>
Tue, 3 Jan 2017 18:09:46 +0000
(19:09 +0100)
committer
Tejun Heo
<tj@kernel.org>
Fri, 6 Jan 2017 16:32:43 +0000
(11:32 -0500)
If NO_DMA=y:
ERROR: "dmam_alloc_coherent" [drivers/ata/libata.ko] undefined!
Add a dependency on HAS_DMA to fix this.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/Kconfig
patch
|
blob
|
history
diff --git
a/drivers/ata/Kconfig
b/drivers/ata/Kconfig
index
47d9356
..
5d16fc4
100644
(file)
--- a/
drivers/ata/Kconfig
+++ b/
drivers/ata/Kconfig
@@
-289,6
+289,7
@@
config SATA_SX4
config ATA_BMDMA
bool "ATA BMDMA support"
+ depends on HAS_DMA
default y
help
This option adds support for SFF ATA controllers with BMDMA