summaryrefslogtreecommitdiff
path: root/drivers/ata/Kconfig
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2017-01-03 19:09:44 +0100
committerTejun Heo <tj@kernel.org>2017-01-06 11:32:43 -0500
commit62989cebd367a1aae1e009e1a5b1ec046a4c8fdc (patch)
treec8b65b0bccb670190601d1e33f42735eaa495c14 /drivers/ata/Kconfig
parent88ba6cae15e38f609aba4f3881e1c404c432596c (diff)
downloadlinux-62989cebd367a1aae1e009e1a5b1ec046a4c8fdc.tar.gz
linux-62989cebd367a1aae1e009e1a5b1ec046a4c8fdc.tar.xz
ata: SATA_MV should depend on HAS_DMA
If NO_DMA=y: ERROR: "dma_pool_alloc" [drivers/ata/sata_mv.ko] undefined! ERROR: "dmam_pool_create" [drivers/ata/sata_mv.ko] undefined! ERROR: "dma_pool_free" [drivers/ata/sata_mv.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/Kconfig')
-rw-r--r--drivers/ata/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig
index 2c8be74f401d..842cd3450b57 100644
--- a/drivers/ata/Kconfig
+++ b/drivers/ata/Kconfig
@@ -353,6 +353,7 @@ config SATA_HIGHBANK
config SATA_MV
tristate "Marvell SATA support"
+ depends on HAS_DMA
depends on PCI || ARCH_DOVE || ARCH_MV78XX0 || \
ARCH_MVEBU || ARCH_ORION5X || COMPILE_TEST
select GENERIC_PHY