From: Borislav Petkov <bp@alien8.de>
To: LKML <linux-kernel@vger.kernel.org>
Cc: Dan Williams <dan.j.williams@intel.com>,
Vinod Koul <vinod.koul@intel.com>,
dmaengine@vger.kernel.org
Subject: [PATCH] dmaengine: mmp_tdma: Select GENERIC_ALLOCATOR
Date: Thu, 3 Nov 2016 13:36:55 +0100 [thread overview]
Message-ID: <20161103123655.13559-1-bp@alien8.de> (raw)
From: Borislav Petkov <bp@suse.de>
as the driver needs it. Build error caught with a randconfig build:
drivers/built-in.o: In function `mmp_tdma_prep_dma_cyclic':
mmp_tdma.c:(.text+0x1612d9): undefined reference to `gen_pool_dma_alloc'
drivers/built-in.o: In function `mmp_tdma_free_chan_resources':
mmp_tdma.c:(.text+0x161444): undefined reference to `gen_pool_free'
drivers/built-in.o: In function `mmp_tdma_probe':
mmp_tdma.c:(.text+0x1616ac): undefined reference to `of_gen_pool_get'
make: *** [vmlinux] Error 1
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Vinod Koul <vinod.koul@intel.com>
Cc: dmaengine@vger.kernel.org
---
drivers/dma/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig
index af63a6bcf564..e88a6ef03dcf 100644
--- a/drivers/dma/Kconfig
+++ b/drivers/dma/Kconfig
@@ -304,6 +304,7 @@ config MMP_PDMA
config MMP_TDMA
bool "MMP Two-Channel DMA support"
depends on ARCH_MMP || COMPILE_TEST
+ select GENERIC_ALLOCATOR
select DMA_ENGINE
select MMP_SRAM if ARCH_MMP
help
--
2.10.0
next reply other threads:[~2016-11-03 12:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-03 12:36 Borislav Petkov [this message]
2016-11-14 5:09 ` Vinod Koul
-- strict thread matches above, loose matches on Subject: below --
2016-10-10 12:07 [PATCH] dmaengine: mmp_tdma: select GENERIC_ALLOCATOR Arnd Bergmann
2016-10-18 15:05 ` Vinod Koul
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=20161103123655.13559-1-bp@alien8.de \
--to=bp@alien8.de \
--cc=dan.j.williams@intel.com \
--cc=dmaengine@vger.kernel.org \
--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
Powered by JetHome