Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1408134 > unrolled thread

[PATCH] fpga: zynq-fpga: fix build failure

Started bySudip Mukherjee <sudipm.mukherjee@gmail.com>
First post2016-05-27 17:30 +0200
Last post2016-05-28 00:50 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] fpga: zynq-fpga: fix build failure Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2016-05-27 17:30 +0200
    Re: [PATCH] fpga: zynq-fpga: fix build failure Moritz Fischer <moritz.fischer@ettus.com> - 2016-05-28 00:50 +0200

#1408134 — [PATCH] fpga: zynq-fpga: fix build failure

FromSudip Mukherjee <sudipm.mukherjee@gmail.com>
Date2016-05-27 17:30 +0200
Subject[PATCH] fpga: zynq-fpga: fix build failure
Message-ID<rDrS1-59z-11@gated-at.bofh.it>
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.

Signed-off-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk>
---
 drivers/fpga/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/fpga/Kconfig b/drivers/fpga/Kconfig
index c9b9fdf..d614102 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

[toc] | [next] | [standalone]


#1408346

FromMoritz Fischer <moritz.fischer@ettus.com>
Date2016-05-28 00:50 +0200
Message-ID<rDyJQ-T1-7@gated-at.bofh.it>
In reply to#1408134
Hi Sudip,

On Fri, May 27, 2016 at 3:55 AM, Sudip Mukherjee
<sudipm.mukherjee@gmail.com> wrote:
> 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.
>
> Signed-off-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk>
Acked-by: Moritz Fischer <moritz.fischer@ettus.com>

Thanks,

Moritz

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web