pwm: spear: Staticize spear_pwm_config()
spear_pwm_config() is not referenced outside of this file, make it static. Signed-off-by: Axel Lin <axel.lin@ingics.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
This commit is contained in:
parent
ce20364bf7
commit
c937136099
|
@ -76,8 +76,8 @@ static inline void spear_pwm_writel(struct spear_pwm_chip *chip,
|
|||
writel_relaxed(val, chip->mmio_base + (num << 4) + offset);
|
||||
}
|
||||
|
||||
int spear_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, int duty_ns,
|
||||
int period_ns)
|
||||
static int spear_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm,
|
||||
int duty_ns, int period_ns)
|
||||
{
|
||||
struct spear_pwm_chip *pc = to_spear_pwm_chip(chip);
|
||||
u64 val, div, clk_rate;
|
||||
|
|
Loading…
Reference in New Issue