Skip to contentSkip to conversation

fpga: zynq-fpga: fix build failure

PATCH Applied Sudip Mukherjee 2 participants 2 messages May 27, 2016 FPGA manager framework

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fpga: zynq-fpga: fix build failure

While building m32r allmodconfig the build is failing with the error:
ERROR: "bad_dma_ops" [drivers/fpga/zynq-fpga.ko] undefined!

Xilinx Zynq FPGA is using DMA but there was no dependency while building.

---
 drivers/fpga/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/fpga/Kconfig +1 -0
index c9b9fdf..d614102 100644
@@ -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.
 
Signature · 1 line
1.9.1