diff options
author | Axel Lin <axel.lin@ingics.com> | 2012-11-09 19:52:22 +0800 |
---|---|---|
committer | Thierry Reding <thierry.reding@avionic-design.de> | 2012-11-22 22:47:10 +0100 |
commit | c9371360997ba26c7e341b3d91d530e16a6aab1b (patch) | |
tree | 8df0840d8bf5870c68e1e82d42046cd0bc893a77 /drivers/pwm | |
parent | ce20364bf75b0e91156698eea49f1e8586b212c1 (diff) | |
download | linux-c9371360997ba26c7e341b3d91d530e16a6aab1b.tar.bz2 |
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>
Diffstat (limited to 'drivers/pwm')
-rw-r--r-- | drivers/pwm/pwm-spear.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pwm/pwm-spear.c b/drivers/pwm/pwm-spear.c index 6a8fd9b5dc42..83b21d9d5cf9 100644 --- a/drivers/pwm/pwm-spear.c +++ b/drivers/pwm/pwm-spear.c @@ -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; |