[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191228012413.rinqeaetsufcwdkf@4978f4969bb8>
Date: Sat, 28 Dec 2019 09:24:13 +0800
From: kbuild test robot <lkp@...el.com>
To: Sanjay R Mehta <Sanju.Mehta@....com>
Cc: kbuild-all@...ts.01.org, vkoul@...nel.org,
dan.j.williams@...el.com, gregkh@...uxfoundation.org,
Gary.Hook@....com, Nehal-bakulchandra.Shah@....com,
Shyam-sundar.S-k@....com, davem@...emloft.net,
mchehab+samsung@...nel.org, robh@...nel.org,
Jonathan.Cameron@...wei.com, linux-kernel@...r.kernel.org,
dmaengine@...r.kernel.org, Sanjay R Mehta <sanju.mehta@....com>
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@...el.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;
Powered by blists - more mailing lists