Skip to content

Commit 05dbb62

Browse files
committed
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>
1 parent 2a3809d commit 05dbb62

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/w1/slaves/w1_therm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1031,7 +1031,7 @@ static int reset_select_slave(struct w1_slave *sl)
10311031
*
10321032
* Return: 0 - OK, negative error - timeout
10331033
*/
1034-
int w1_poll_completion(struct w1_master *dev_master, int tout_ms)
1034+
static int w1_poll_completion(struct w1_master *dev_master, int tout_ms)
10351035
{
10361036
int i;
10371037

0 commit comments

Comments
 (0)