]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
pwm: spear: Staticize spear_pwm_config()
authorAxel Lin <axel.lin@ingics.com>
Fri, 9 Nov 2012 11:52:22 +0000 (19:52 +0800)
committerThierry Reding <thierry.reding@avionic-design.de>
Fri, 9 Nov 2012 11:57:03 +0000 (12:57 +0100)
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>
drivers/pwm/pwm-spear.c

index 6a8fd9b5dc421fbf4587fdcdc1cdeda04bf8480e..83b21d9d5cf900e3e9ddde7ea4784fb6c6202c64 100644 (file)
@@ -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;