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:
Axel Lin 2012-11-09 19:52:22 +08:00 committed by Thierry Reding
parent ce20364bf7
commit c937136099
1 changed files with 2 additions and 2 deletions

View File

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