diff options
author | Sudip Mukherjee <[email protected]> | 2016-08-03 13:45:46 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2016-08-04 08:50:07 -0400 |
commit | 1c8cb409491403036919dd1c6b45013dc8835a44 (patch) | |
tree | 099686bb027192d21e5a69abd657c5b30788b447 | |
parent | bf0f500bd0199aab613eb0ecb3412edd5472740d (diff) |
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/[email protected]
Signed-off-by: Sudip Mukherjee <[email protected]>
Acked-by: Moritz Fischer <[email protected]>
Cc: Alan Tull <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
-rw-r--r-- | drivers/fpga/Kconfig | 1 |
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. |