From: Geert Uytterhoeven <geert@linux-m68k.org>
To: Alan Tull <atull@opensource.altera.com>
Cc: linux-kernel@vger.kernel.org, Geert Uytterhoeven <geert@linux-m68k.org>
Subject: [PATCH] fpga: FPGA_MGR_ZYNQ_FPGA should depend on HAS_DMA
Date: Mon, 9 Nov 2015 10:37:31 +0100 [thread overview]
Message-ID: <1447061851-19932-1-git-send-email-geert@linux-m68k.org> (raw)
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@linux-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
next reply other threads:[~2015-11-09 9:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-09 9:37 Geert Uytterhoeven [this message]
2015-11-10 16:02 ` atull
2015-11-10 16:28 ` atull
2015-11-10 17:48 ` Moritz Fischer
2015-11-10 20:44 ` atull
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1447061851-19932-1-git-send-email-geert@linux-m68k.org \
--to=geert@linux-m68k.org \
--cc=atull@opensource.altera.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®