[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180203151044.GA44748@lkp-hsx03>
Date: Sat, 3 Feb 2018 23:10:44 +0800
From: kbuild test robot <lkp@...el.com>
To: sean.wang@...iatek.com
Cc: kbuild-all@...org, vinod.koul@...el.com, dan.j.williams@...el.com,
robh+dt@...nel.org, mark.rutland@....com,
dmaengine@...r.kernel.org, devicetree@...r.kernel.org,
linux-mediatek@...ts.infradead.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
Sean Wang <sean.wang@...iatek.com>
Subject: [RFC PATCH] dmaengine: mediatek: mtk_hsdma_find_active_desc() can be
static
Fixes: 73006a033ef0 ("dmaengine: mediatek: Add MediaTek High-Speed DMA controller for MT7622 and MT7623 SoC")
Signed-off-by: Fengguang Wu <fengguang.wu@...el.com>
---
mtk-hsdma.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/dma/mediatek/mtk-hsdma.c b/drivers/dma/mediatek/mtk-hsdma.c
index cd3af5c..c1523b4 100644
--- a/drivers/dma/mediatek/mtk-hsdma.c
+++ b/drivers/dma/mediatek/mtk-hsdma.c
@@ -643,8 +643,8 @@ static irqreturn_t mtk_hsdma_irq(int irq, void *devid)
return IRQ_HANDLED;
}
-struct virt_dma_desc *mtk_hsdma_find_active_desc(struct dma_chan *c,
- dma_cookie_t cookie)
+static struct virt_dma_desc *mtk_hsdma_find_active_desc(struct dma_chan *c,
+ dma_cookie_t cookie)
{
struct mtk_hsdma_vchan *hvc = to_hsdma_vchan(c);
struct virt_dma_desc *vd;
Powered by blists - more mailing lists