Skip to contentSkip to conversation

w1: w1_therm: make w1_poll_completion static

PATCH New Greg Kroah-Hartman 1 participant 1 message Oct 5, 2020 W1 dallas's 1-wire bus

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

drivers/w1/slaves/w1_therm.c +1 -1
index e4baaf92f074..cddf60b7309c 100644
@@ -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;