From: Matt Porter <matt.porter@linaro.org>
To: Josh Boyer <jwboyer@redhat.com>
Cc: Vinod Koul <vinod.koul@intel.com>, Dan Williams <djbw@fb.com>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] dma/Kconfig: Make TI_EDMA select TI_PRIV_EDMA
Date: Thu, 05 Sep 2013 11:19:55 -0400 [thread overview]
Message-ID: <5228A11B.2020808@linaro.org> (raw)
In-Reply-To: <20130904133203.GB12834@hansolo.jdub.homelinux.org>
On 09/04/2013 09:32 AM, Josh Boyer wrote:
> The TI_EDMA driver unconditionally calls functions provided by the
> TI_PRIV_EDMA code, but it doesn't force that to be built-in. If that isn't
> otherwise enabled somewhere, you can get build errors like:
>
> linux-3.12.0-0.rc0.git1.1.fc21.armv7hl/drivers/dma/edma.c:593: undefined reference to `edma_free_slot'
> drivers/built-in.o: In function `edma_terminate_all':
> linux-3.12.0-0.rc0.git1.1.fc21.armv7hl/drivers/dma/edma.c:169: undefined reference to `edma_stop'
> drivers/built-in.o: In function `edma_execute':
> linux-3.12.0-0.rc0.git1.1.fc21.armv7hl/drivers/dma/edma.c:122: undefined reference to `edma_write_slot'
> linux-3.12.0-0.rc0.git1.1.fc21.armv7hl/drivers/dma/edma.c:149: undefined reference to `edma_link'
> linux-3.12.0-0.rc0.git1.1.fc21.armv7hl/drivers/dma/edma.c:152: undefined reference to `edma_start'
>
> Make TI_EDMA select TI_PRIV_EDMA to avoid this.
>
> Signed-off-by: Josh Boyer <jwboyer@fedoraproject.org>
> ---
> drivers/dma/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig
> index daa4da2..825374b 100644
> --- a/drivers/dma/Kconfig
> +++ b/drivers/dma/Kconfig
> @@ -198,6 +198,7 @@ config TI_EDMA
> depends on ARCH_DAVINCI || ARCH_OMAP
> select DMA_ENGINE
> select DMA_VIRTUAL_CHANNELS
> + select TI_PRIV_EDMA
> default n
> help
> Enable support for the TI EDMA controller. This DMA
>
Looks good, thanks for addressing this.
Acked-by: Matt Porter <matt.porter@linaro.org>
prev parent reply other threads:[~2013-09-05 15:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-04 13:32 [PATCH] dma/Kconfig: Make TI_EDMA select TI_PRIV_EDMA Josh Boyer
2013-09-04 16:10 ` Josh Boyer
2013-09-17 4:56 ` Vinod Koul
2013-09-05 15:19 ` Matt Porter [this message]
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=5228A11B.2020808@linaro.org \
--to=matt.porter@linaro.org \
--cc=djbw@fb.com \
--cc=jwboyer@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=vinod.koul@intel.com \
/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