diff options
author | Axel Lin <axel.lin@ingics.com> | 2012-11-09 06:52:22 -0500 |
---|---|---|
committer | Thierry Reding <thierry.reding@avionic-design.de> | 2012-11-22 16:47:10 -0500 |
commit | c9371360997ba26c7e341b3d91d530e16a6aab1b (patch) | |
tree | 8df0840d8bf5870c68e1e82d42046cd0bc893a77 | |
parent | ce20364bf75b0e91156698eea49f1e8586b212c1 (diff) |
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 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, | |||
76 | writel_relaxed(val, chip->mmio_base + (num << 4) + offset); | 76 | writel_relaxed(val, chip->mmio_base + (num << 4) + offset); |
77 | } | 77 | } |
78 | 78 | ||
79 | int spear_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, int duty_ns, | 79 | static int spear_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, |
80 | int period_ns) | 80 | int duty_ns, int period_ns) |
81 | { | 81 | { |
82 | struct spear_pwm_chip *pc = to_spear_pwm_chip(chip); | 82 | struct spear_pwm_chip *pc = to_spear_pwm_chip(chip); |
83 | u64 val, div, clk_rate; | 83 | u64 val, div, clk_rate; |