All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike Turquette <mturquette@linaro.org>
To: weiyj_lk@163.com, "Stephen Boyd" <sboyd@codeaurora.org>,
	"Chao Xie" <chao.xie@marvell.com>,
	"Haojian Zhuang" <haojian.zhuang@gmail.com>
Cc: "Wei Yongjun" <yongjun_wei@trendmicro.com.cn>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH -next] clk: mmp: fix sparse non static symbol warning
Date: Thu, 11 Dec 2014 12:14:30 -0800	[thread overview]
Message-ID: <20141211201430.20398.17421@quantum> (raw)
In-Reply-To: <1418087250-14258-1-git-send-email-weiyj_lk@163.com>

Quoting weiyj_lk@163.com (2014-12-08 17:07:30)
> From: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
> 
> Fixes the following sparse warnings:
> 
> drivers/clk/mmp/clk-frac.c:113:6: warning:
>  symbol 'clk_factor_init' was not declared. Should it be static?
> 
> Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>

Applied.

Thanks,
Mike

> ---
>  drivers/clk/mmp/clk-frac.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/clk/mmp/clk-frac.c b/drivers/clk/mmp/clk-frac.c
> index eeba52c..584a992 100644
> --- a/drivers/clk/mmp/clk-frac.c
> +++ b/drivers/clk/mmp/clk-frac.c
> @@ -110,7 +110,7 @@ static int clk_factor_set_rate(struct clk_hw *hw, unsigned long drate,
>         return 0;
>  }
>  
> -void clk_factor_init(struct clk_hw *hw)
> +static void clk_factor_init(struct clk_hw *hw)
>  {
>         struct mmp_clk_factor *factor = to_clk_factor(hw);
>         struct mmp_clk_factor_masks *masks = factor->masks;
> 

      reply	other threads:[~2014-12-11 20:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-09  1:07 [PATCH -next] clk: mmp: fix sparse non static symbol warning weiyj_lk
2014-12-11 20:14 ` Mike Turquette [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20141211201430.20398.17421@quantum \
    --to=mturquette@linaro.org \
    --cc=chao.xie@marvell.com \
    --cc=haojian.zhuang@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sboyd@codeaurora.org \
    --cc=weiyj_lk@163.com \
    --cc=yongjun_wei@trendmicro.com.cn \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.