[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220421092143.18281-1-i.m.novikov@yadro.com>
Date: Thu, 21 Apr 2022 12:21:43 +0300
From: <i.m.novikov@...ro.com>
To: <vkoul@...nel.org>
CC: <i.m.novikov@...ro.com>, <sanju.mehta@....com>,
<dmaengine@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<linux@...ro.com>, kernel test robot <lkp@...el.com>
Subject: [PATCH] dmaengine: PTDMA: statify pt_tx_status
From: Ilya Novikov <i.m.novikov@...ro.com>
LKP bot reports a new warning:
Warning:
drivers/dma/ptdma/ptdma-dmaengine.c:262:1: warning: no previous
prototype for 'pt_tx_status' [-Wmissing-prototypes]
Reported-by: kernel test robot <lkp@...el.com>
Signed-off-by: Ilya Novikov <i.m.novikov@...ro.com>
---
drivers/dma/ptdma/ptdma-dmaengine.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/dma/ptdma/ptdma-dmaengine.c b/drivers/dma/ptdma/ptdma-dmaengine.c
index ea07cc42f4d0..cc22d162ce25 100644
--- a/drivers/dma/ptdma/ptdma-dmaengine.c
+++ b/drivers/dma/ptdma/ptdma-dmaengine.c
@@ -258,7 +258,7 @@ static void pt_issue_pending(struct dma_chan *dma_chan)
pt_cmd_callback(desc, 0);
}
-enum dma_status
+static enum dma_status
pt_tx_status(struct dma_chan *c, dma_cookie_t cookie,
struct dma_tx_state *txstate)
{
--
2.25.1
Powered by blists - more mailing lists