Skip to content

Commit 374c110

Browse files
JasonYanHwthierryreding
authored andcommitted
pwm: Make pwm_apply_state_debug() static
Fix the following gcc warning: drivers/pwm/core.c:467:6: warning: symbol 'pwm_apply_state_debug' was not declared. Should it be static? Reported-by: Hulk Robot <[email protected]> Signed-off-by: Jason Yan <[email protected]> Acked-by: Uwe Kleine-König <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
1 parent 437fb76 commit 374c110

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/pwm/core.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -464,8 +464,8 @@ void pwm_free(struct pwm_device *pwm)
464464
}
465465
EXPORT_SYMBOL_GPL(pwm_free);
466466

467-
void pwm_apply_state_debug(struct pwm_device *pwm,
468-
const struct pwm_state *state)
467+
static void pwm_apply_state_debug(struct pwm_device *pwm,
468+
const struct pwm_state *state)
469469
{
470470
struct pwm_state *last = &pwm->last;
471471
struct pwm_chip *chip = pwm->chip;

0 commit comments

Comments
 (0)