Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1550054
| From | Geert Uytterhoeven <geert@linux-m68k.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 1/6] ata: SATA_MV should depend on HAS_DMA |
| Date | 2017-01-03 19:20 +0100 |
| Message-ID | <sVBQK-1Kc-53@gated-at.bofh.it> (permalink) |
| References | <sVBQJ-1Kc-29@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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>
---
drivers/ata/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig
index cbd101933c69322a..7b36b791078a4806 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
--
1.9.1
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/6] ata: Missing HAS_DMA dependencies Geert Uytterhoeven <geert@linux-m68k.org> - 2017-01-03 19:20 +0100 [PATCH 1/6] ata: SATA_MV should depend on HAS_DMA Geert Uytterhoeven <geert@linux-m68k.org> - 2017-01-03 19:20 +0100 [PATCH 3/6] ata: ATA_BMDMA should depend on HAS_DMA Geert Uytterhoeven <geert@linux-m68k.org> - 2017-01-03 19:20 +0100 [PATCH 2/6] ata: SATA_HIGHBANK should depend on HAS_DMA Geert Uytterhoeven <geert@linux-m68k.org> - 2017-01-03 19:20 +0100 Re: [PATCH 0/6] ata: Missing HAS_DMA dependencies Tejun Heo <tj@kernel.org> - 2017-01-06 17:40 +0100
csiph-web