Skip to content

Commit 2066882

Browse files
geertugregkh
authored andcommitted
ata: ATA_BMDMA should depend on HAS_DMA
[ Upstream commit 7bc7ab1e63dfe004931502f90ce7020e375623da ] 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> Signed-off-by: Sasha Levin <alexander.levin@verizon.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 4fd669f commit 2066882

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/ata/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,7 @@ config SATA_SX4
272272

273273
config ATA_BMDMA
274274
bool "ATA BMDMA support"
275+
depends on HAS_DMA
275276
default y
276277
help
277278
This option adds support for SFF ATA controllers with BMDMA

0 commit comments

Comments
 (0)