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 <hulkci@huawei.com>
Signed-off-by: Jason Yan <yanaijie@huawei.com>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
This commit is contained in:
Jason Yan 2020-04-02 14:57:18 +08:00 committed by Thierry Reding
parent 437fb760d0
commit 374c1104eb
1 changed files with 2 additions and 2 deletions

View File

@ -464,8 +464,8 @@ void pwm_free(struct pwm_device *pwm)
} }
EXPORT_SYMBOL_GPL(pwm_free); EXPORT_SYMBOL_GPL(pwm_free);
void pwm_apply_state_debug(struct pwm_device *pwm, static void pwm_apply_state_debug(struct pwm_device *pwm,
const struct pwm_state *state) const struct pwm_state *state)
{ {
struct pwm_state *last = &pwm->last; struct pwm_state *last = &pwm->last;
struct pwm_chip *chip = pwm->chip; struct pwm_chip *chip = pwm->chip;