Skip to content

Commit

Permalink
pwm: spear: Staticize spear_pwm_config()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
AxelLin authored and Thierry Reding committed Nov 22, 2012
1 parent ce20364 commit c937136
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/pwm/pwm-spear.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c937136

Please sign in to comment.