diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2017-01-03 19:09:46 +0100 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2017-01-06 11:32:43 -0500 |
commit | 7bc7ab1e63dfe004931502f90ce7020e375623da (patch) | |
tree | cffbb553c49720f143f06f84700da92f4024fa92 /drivers/ata | |
parent | 2a736e0585e585c2566b5119af8381910a170e44 (diff) | |
download | linux-7bc7ab1e63dfe004931502f90ce7020e375623da.tar.bz2 |
ata: ATA_BMDMA should depend on HAS_DMA
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>
Diffstat (limited to 'drivers/ata')
-rw-r--r-- | drivers/ata/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig index 47d9356991e9..5d16fc4fa46c 100644 --- 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 |