diff options
author | Axel Lin <axel.lin@ingics.com> | 2012-11-09 11:52:22 (GMT) |
---|---|---|
committer | Thierry Reding <thierry.reding@avionic-design.de> | 2012-11-22 21:47:10 (GMT) |
commit | c9371360997ba26c7e341b3d91d530e16a6aab1b (patch) | |
tree | 8df0840d8bf5870c68e1e82d42046cd0bc893a77 | |
parent | ce20364bf75b0e91156698eea49f1e8586b212c1 (diff) | |
download | linux-fsl-qoriq-c9371360997ba26c7e341b3d91d530e16a6aab1b.tar.xz |
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>
-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 6a8fd9b..83b21d9 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; |