mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: atull <atull@opensource.altera.com>
To: <"Moritz Fischer
	<moritz.fischer@ettus.com>"@opensource.altera.com>,
	"Geert Uytterhoeven" <geert@linux-m68k.org>
Cc: <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] fpga: FPGA_MGR_ZYNQ_FPGA should depend on HAS_DMA
Date: Tue, 10 Nov 2015 10:02:21 -0600	[thread overview]
Message-ID: <alpine.DEB.2.02.1511101001290.18581@linuxheads99> (raw)
In-Reply-To: <1447061851-19932-1-git-send-email-geert@linux-m68k.org>

On Mon, 9 Nov 2015, Geert Uytterhoeven wrote:
+ Moritz

> 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
> 
> 

  reply	other threads:[~2015-11-10 16:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-09  9:37 Geert Uytterhoeven
2015-11-10 16:02 ` atull [this message]
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=alpine.DEB.2.02.1511101001290.18581@linuxheads99 \
    --to=atull@opensource.altera.com \
    --cc="Moritz Fischer <moritz.fischer@ettus.com>"@opensource.altera.com \
    --cc=geert@linux-m68k.org \
    --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®