[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1447061851-19932-1-git-send-email-geert@linux-m68k.org>
Date: Mon, 9 Nov 2015 10:37:31 +0100
From: Geert Uytterhoeven <geert@...ux-m68k.org>
To: Alan Tull <atull@...nsource.altera.com>
Cc: linux-kernel@...r.kernel.org,
Geert Uytterhoeven <geert@...ux-m68k.org>
Subject: [PATCH] fpga: FPGA_MGR_ZYNQ_FPGA should depend on HAS_DMA
If NO_DMA=y:
ERROR: "dma_free_coherent" [drivers/fpga/zynq-fpga.ko] undefined!
ERROR: "dma_alloc_coherent" [drivers/fpga/zynq-fpga.ko] undefined!
Add a dependency on HAS_DMA to fix this.
Signed-off-by: Geert Uytterhoeven <geert@...ux-m68k.org>
---
drivers/fpga/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/fpga/Kconfig b/drivers/fpga/Kconfig
index c9b9fdf6cfbbeb6d..d61410299ec0cf80 100644
--- a/drivers/fpga/Kconfig
+++ b/drivers/fpga/Kconfig
@@ -21,6 +21,7 @@ config FPGA_MGR_SOCFPGA
config FPGA_MGR_ZYNQ_FPGA
tristate "Xilinx Zynq FPGA"
+ depends on HAS_DMA
help
FPGA manager driver support for Xilinx Zynq FPGAs.
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists