diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2017-01-03 19:09:44 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-11-21 09:21:19 +0100 |
commit | b9ea0af4793b4fce9be0f07dd0cf9ea7c94c1049 (patch) | |
tree | 5ef91a8e91cd8f34d446d7bafe0b1fbb61dc0849 /drivers/ata | |
parent | 11cb9dedb2e6386467ac9c958c3d8cb95738e16e (diff) | |
download | linux-stable-b9ea0af4793b4fce9be0f07dd0cf9ea7c94c1049.tar.gz linux-stable-b9ea0af4793b4fce9be0f07dd0cf9ea7c94c1049.tar.bz2 linux-stable-b9ea0af4793b4fce9be0f07dd0cf9ea7c94c1049.zip |
ata: SATA_MV should depend on HAS_DMA
[ Upstream commit 62989cebd367a1aae1e009e1a5b1ec046a4c8fdc ]
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>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.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 c1e40ebaf5e2..c2ba811993d4 100644 --- a/drivers/ata/Kconfig +++ b/drivers/ata/Kconfig @@ -329,6 +329,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 |