diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2017-01-03 19:09:45 +0100 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2017-01-06 11:32:43 -0500 |
commit | 2a736e0585e585c2566b5119af8381910a170e44 (patch) | |
tree | edbe3c527aa259af1bdebe9cd26bdecbd00f0907 /drivers/ata | |
parent | 62989cebd367a1aae1e009e1a5b1ec046a4c8fdc (diff) | |
download | linux-stable-2a736e0585e585c2566b5119af8381910a170e44.tar.gz linux-stable-2a736e0585e585c2566b5119af8381910a170e44.tar.bz2 linux-stable-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')
-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 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 |