Commit 374c1104 authored by Jason Yan's avatar Jason Yan Committed by Thierry Reding

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: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarJason Yan <yanaijie@huawei.com>
Acked-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: default avatarThierry Reding <thierry.reding@gmail.com>
parent 437fb760
......@@ -464,8 +464,8 @@ void pwm_free(struct pwm_device *pwm)
}
EXPORT_SYMBOL_GPL(pwm_free);
void pwm_apply_state_debug(struct pwm_device *pwm,
const struct pwm_state *state)
static void pwm_apply_state_debug(struct pwm_device *pwm,
const struct pwm_state *state)
{
struct pwm_state *last = &pwm->last;
struct pwm_chip *chip = pwm->chip;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment