summaryrefslogtreecommitdiffstats
path: root/drivers/w1/slaves
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-10-05 14:37:03 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-10-05 14:49:24 +0200
commit05dbb62853351cd90a538bff213aacc070dc1550 (patch)
tree7132801a5ba073f96937910834bf4a278bbdadd5 /drivers/w1/slaves
parentbinder: simplify the return expression of binder_mmap (diff)
downloadlinux-05dbb62853351cd90a538bff213aacc070dc1550.tar.xz
linux-05dbb62853351cd90a538bff213aacc070dc1550.zip
w1: w1_therm: make w1_poll_completion static
kernel test robot rightly points out that w1_poll_completion() should be static, so mark it as such. Cc: Ivan Zaentsev <ivan.zaentsev@wirenboard.ru> Reported-by: kernel test robot <lkp@intel.com> Link: https://lore.kernel.org/r/20201005123703.GA800532@kroah.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/w1/slaves')
-rw-r--r--drivers/w1/slaves/w1_therm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/w1/slaves/w1_therm.c b/drivers/w1/slaves/w1_therm.c
index e4baaf92f074..cddf60b7309c 100644
--- a/drivers/w1/slaves/w1_therm.c
+++ b/drivers/w1/slaves/w1_therm.c
@@ -1031,7 +1031,7 @@ static int reset_select_slave(struct w1_slave *sl)
*
* Return: 0 - OK, negative error - timeout
*/
-int w1_poll_completion(struct w1_master *dev_master, int tout_ms)
+static int w1_poll_completion(struct w1_master *dev_master, int tout_ms)
{
int i;