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 коммит произвёл Thierry Reding
Родитель 437fb760d0
Коммит 374c1104eb
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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;