From mboxrd@z Thu Jan 1 00:00:00 1970 From: kbuild test robot Subject: [RFC PATCH] dmaengine: sf-pdma: sf_pdma_disclaim_chan() can be static Date: Sun, 13 Oct 2019 21:04:47 +0800 Message-ID: <20191013130447.2t2hbjcaatguytm3@332d0cec05f4> References: <20191003090945.29210-4-green.wan@sifive.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20191003090945.29210-4-green.wan@sifive.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-riscv" Errors-To: linux-riscv-bounces+glpr-linux-riscv=m.gmane.org@lists.infradead.org Cc: Mark Rutland , Palmer Dabbelt , Sagar Kadam , Mauro Carvalho Chehab , linux-riscv@lists.infradead.org, "Paul E. McKenney" , Vinod Koul , linux-hackers@sifive.com, devicetree@vger.kernel.org, Albert Ou , Green Wan , Rob Herring , Paul Walmsley , Jonathan Cameron , Dan Williams , kbuild-all@lists.01.org, Greg Kroah-Hartman , linux-kernel@vger.kernel.org, Yash Shah , dmaengine@vger.kernel.org, Bin Meng , "David S. Miller" List-Id: devicetree@vger.kernel.org Fixes: 31c3b98b5a01 ("dmaengine: sf-pdma: add platform DMA support for HiFive Unleashed A00") Signed-off-by: kbuild test robot --- sf-pdma.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/dma/sf-pdma/sf-pdma.c b/drivers/dma/sf-pdma/sf-pdma.c index 70197ad95c1a6..973ed9d8cfa44 100644 --- a/drivers/dma/sf-pdma/sf-pdma.c +++ b/drivers/dma/sf-pdma/sf-pdma.c @@ -97,14 +97,14 @@ static void sf_pdma_fill_desc(struct sf_pdma_chan *chan, writeq(src, regs->src_addr); } -void sf_pdma_disclaim_chan(struct sf_pdma_chan *chan) +static void sf_pdma_disclaim_chan(struct sf_pdma_chan *chan) { struct pdma_regs *regs = &chan->regs; writel(PDMA_CLEAR_CTRL, regs->ctrl); } -struct dma_async_tx_descriptor * +static struct dma_async_tx_descriptor * sf_pdma_prep_dma_memcpy(struct dma_chan *dchan, dma_addr_t dest, dma_addr_t src,