Skip to content

Commit 2e9bcac

Browse files
SamuelZOUsre
authored andcommitted
power: supply: Make bd9995x_chip_reset static
Fix the following sparse warning: drivers/power/supply/bd99954-charger.c:1028:6: warning: symbol 'bd9995x_chip_reset' was not declared. The bd9995x_chip_reset() has only one call site within bd99954-charger.c It should be static Fixes: 0902f83 ("power: supply: Support ROHM bd99954 charger") Reported-by: Hulk Robot <[email protected]> Signed-off-by: Samuel Zou <[email protected]> Reviewed-by: Matti Vaittinen <[email protected]> Signed-off-by: Sebastian Reichel <[email protected]>
1 parent fac1cd3 commit 2e9bcac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/power/supply/bd99954-charger.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1025,7 +1025,7 @@ static int bd9995x_fw_probe(struct bd9995x_device *bd)
10251025
return 0;
10261026
}
10271027

1028-
void bd9995x_chip_reset(void *bd)
1028+
static void bd9995x_chip_reset(void *bd)
10291029
{
10301030
__bd9995x_chip_reset(bd);
10311031
}

0 commit comments

Comments
 (0)