summaryrefslogtreecommitdiffstats
path: root/drivers/fpga/Kconfig
diff options
context:
space:
mode:
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>2016-08-03 22:45:46 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2016-08-04 14:50:07 +0200
commit1c8cb409491403036919dd1c6b45013dc8835a44 (patch)
tree099686bb027192d21e5a69abd657c5b30788b447 /drivers/fpga/Kconfig
parentMerge tag 'trace-v4.8-1' of git://git.kernel.org/pub/scm/linux/kernel/git/ros... (diff)
downloadlinux-1c8cb409491403036919dd1c6b45013dc8835a44.tar.xz
linux-1c8cb409491403036919dd1c6b45013dc8835a44.zip
drivers/fpga/Kconfig: 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. Link: http://lkml.kernel.org/r/1464346526-13913-1-git-send-email-sudipm.mukherjee@gmail.com Signed-off-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk> Acked-by: Moritz Fischer <moritz.fischer@ettus.com> Cc: Alan Tull <atull@opensource.altera.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
-rw-r--r--drivers/fpga/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/fpga/Kconfig b/drivers/fpga/Kconfig
index c9b9fdf6cfbb..d61410299ec0 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.