Commit c9371360 authored by Axel Lin's avatar Axel Lin Committed by Thierry Reding

pwm: spear: Staticize spear_pwm_config()

spear_pwm_config() is not referenced outside of this file, make it static.
Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarThierry Reding <thierry.reding@avionic-design.de>
parent ce20364b
...@@ -76,8 +76,8 @@ static inline void spear_pwm_writel(struct spear_pwm_chip *chip, ...@@ -76,8 +76,8 @@ static inline void spear_pwm_writel(struct spear_pwm_chip *chip,
writel_relaxed(val, chip->mmio_base + (num << 4) + offset); writel_relaxed(val, chip->mmio_base + (num << 4) + offset);
} }
int spear_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, int duty_ns, static int spear_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm,
int period_ns) int duty_ns, int period_ns)
{ {
struct spear_pwm_chip *pc = to_spear_pwm_chip(chip); struct spear_pwm_chip *pc = to_spear_pwm_chip(chip);
u64 val, div, clk_rate; u64 val, div, clk_rate;
......
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