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

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

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