lkml.org 
[lkml]   [2019]   [Dec]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[RFC PATCH] dmaengine: ptdma: pt_present() can be static

Fixes: ea65c60183d6 ("dmaengine: ptdma: Add debugfs entries for PTDMA information")
Signed-off-by: kbuild test robot <lkp@intel.com>
---
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;
\
 
 \ /
  Last update: 2019-12-28 02:24    [W:0.034 / U:8.588 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site