From: Geert Uytterhoeven Date: Tue, 3 Jan 2017 18:09:46 +0000 (+0100) Subject: ata: ATA_BMDMA should depend on HAS_DMA X-Git-Tag: rel_imx_4.19.35_1.1.0~13133^2~27 X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=7bc7ab1e63dfe004931502f90ce7020e375623da;p=linux.git 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 Signed-off-by: Tejun Heo --- 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