diff options
| author | Vinod Koul <[email protected]> | 2022-04-21 10:54:07 +0530 |
|---|---|---|
| committer | Vinod Koul <[email protected]> | 2022-04-22 11:29:13 +0530 |
| commit | e235fe3bcf831dabd67bc2d9b75cad53311a16ec (patch) | |
| tree | 2ebcdb7df8dd7f92d295cbff195aeb2b7969aa69 | |
| parent | 643a4a85b0bc7efeb5732fb4563c43c77ba0c6ac (diff) | |
dmaengine: ptdma: statify pt_tx_status
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]
pt_tx_status() should be static, so declare as such.
Reported-by: kernel test robot <[email protected]>
Fixes: d965068259d1 ("dmaengine: PTDMA: support polled mode")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
| -rw-r--r-- | drivers/dma/ptdma/ptdma-dmaengine.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |