dmaengine: ptdma: statify pt_tx_status
authorVinod Koul <vkoul@kernel.org>
Thu, 21 Apr 2022 05:24:07 +0000 (10:54 +0530)
committerVinod Koul <vkoul@kernel.org>
Fri, 22 Apr 2022 05:59:13 +0000 (11:29 +0530)
commite235fe3bcf831dabd67bc2d9b75cad53311a16ec
tree2ebcdb7df8dd7f92d295cbff195aeb2b7969aa69
parent643a4a85b0bc7efeb5732fb4563c43c77ba0c6ac
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 <lkp@intel.com>
Fixes: d965068259d1 ("dmaengine: PTDMA: support polled mode")
Link: https://lore.kernel.org/r/20220421052407.745637-1-vkoul@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/ptdma/ptdma-dmaengine.c