From: Vinod Koul <vinod.koul@intel.com>
To: dmaengine@vger.kernel.org
Cc: baolin.wang@spreadtrum.com, Vinod Koul <vinod.koul@intel.com>
Subject: dmaengine: sprd: statify 'sprd_dma_prep_dma_memcpy'
Date: Fri, 12 Jan 2018 22:38:38 +0530 [thread overview]
Message-ID: <1515776918-19901-1-git-send-email-vinod.koul@intel.com> (raw)
Sparse warns that 'sprd_dma_prep_dma_memcpy' should be static so make it
static.
drivers/dma/sprd-dma.c:713:32: warning:
symbol'sprd_dma_prep_dma_memcpy' was not declared. Should it be static?
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
---
drivers/dma/sprd-dma.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/dma/sprd-dma.c b/drivers/dma/sprd-dma.c
index b652071a2096..b106e8a60af6 100644
--- a/drivers/dma/sprd-dma.c
+++ b/drivers/dma/sprd-dma.c
@@ -710,7 +710,7 @@ static int sprd_dma_config(struct dma_chan *chan, struct sprd_dma_desc *sdesc,
return 0;
}
-struct dma_async_tx_descriptor *
+static struct dma_async_tx_descriptor *
sprd_dma_prep_dma_memcpy(struct dma_chan *chan, dma_addr_t dest, dma_addr_t src,
size_t len, unsigned long flags)
{
next reply other threads:[~2018-01-12 17:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-12 17:08 Vinod Koul [this message]
-- strict thread matches above, loose matches on Subject: below --
2018-01-15 2:15 dmaengine: sprd: statify 'sprd_dma_prep_dma_memcpy' Baolin Wang
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=1515776918-19901-1-git-send-email-vinod.koul@intel.com \
--to=vinod.koul@intel.com \
--cc=baolin.wang@spreadtrum.com \
--cc=dmaengine@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;
as well as URLs for NNTP newsgroup(s).