[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20121109115833.GA22618@avionic-0098.mockup.avionic-design.de>
Date: Fri, 9 Nov 2012 12:58:33 +0100
From: Thierry Reding <thierry.reding@...onic-design.de>
To: Axel Lin <axel.lin@...ics.com>
Cc: Shiraz Hashim <shiraz.hashim@...com>,
Viresh Kumar <viresh.kumar@...aro.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] pwm: spear: Staticize spear_pwm_config()
On Fri, Nov 09, 2012 at 07:52:22PM +0800, Axel Lin wrote:
> spear_pwm_config() is not referenced outside of this file, make it static.
>
> Signed-off-by: Axel Lin <axel.lin@...ics.com>
> ---
> drivers/pwm/pwm-spear.c | 4 ++--
> 1 file 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;
Applied, thanks.
Thierry
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists