[RFC PATCH] dmaengine: ptdma: pt_present() can be static
From: kbuild test robot
Date: Fri Dec 27 2019 - 20:41:03 EST
Fixes: ea65c60183d6 ("dmaengine: ptdma: Add debugfs entries for PTDMA information")
Signed-off-by: kbuild test robot <lkp@xxxxxxxxx>
---
ptdma-dev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/dma/ptdma/ptdma-dev.c b/drivers/dma/ptdma/ptdma-dev.c
index 1cb47bbdbd3e1..6df0d5049aa26 100644
--- a/drivers/dma/ptdma/ptdma-dev.c
+++ b/drivers/dma/ptdma/ptdma-dev.c
@@ -136,7 +136,7 @@ static void pt_del_device(struct pt_device *pt)
*
* Returns zero if a PTDMA device is present, -ENODEV otherwise.
*/
-int pt_present(void)
+static int pt_present(void)
{
unsigned long flags;
int ret;