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 <[email protected]> Reported-by: kernel test robot <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 2a3809d commit 05dbb62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)