summaryrefslogtreecommitdiffstats
path: root/drivers/ata/Kconfig
diff options
context:
space:
mode:
authorGeert Uytterhoeven2017-01-03 19:09:45 +0100
committerTejun Heo2017-01-06 17:32:43 +0100
commit2a736e0585e585c2566b5119af8381910a170e44 (patch)
treeedbe3c527aa259af1bdebe9cd26bdecbd00f0907 /drivers/ata/Kconfig
parentata: SATA_MV should depend on HAS_DMA (diff)
downloadkernel-qcow2-linux-2a736e0585e585c2566b5119af8381910a170e44.tar.gz
kernel-qcow2-linux-2a736e0585e585c2566b5119af8381910a170e44.tar.xz
kernel-qcow2-linux-2a736e0585e585c2566b5119af8381910a170e44.zip
ata: SATA_HIGHBANK should depend on HAS_DMA
If NO_DMA=y: ERROR: "bad_dma_ops" [drivers/ata/sata_highbank.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 842cd3450b57..47d9356991e9 100644
--- a/drivers/ata/Kconfig
+++ b/drivers/ata/Kconfig
@@ -344,6 +344,7 @@ config SATA_DWC_VDEBUG
config SATA_HIGHBANK
tristate "Calxeda Highbank SATA support"
+ depends on HAS_DMA
depends on ARCH_HIGHBANK || COMPILE_TEST
help
This option enables support for the Calxeda Highbank SoC's