From: Geert Uytterhoeven Date: Tue, 3 Jan 2017 18:09:44 +0000 (+0100) Subject: ata: SATA_MV should depend on HAS_DMA X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=62989cebd367a1aae1e009e1a5b1ec046a4c8fdc;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Tejun Heo --- 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