lkml.org 
[lkml]   [2015]   [May]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 09/19] clk: emev2: Silence sparse warnings
On Wed, May 06, 2015 at 12:39:46AM -0700, Stephen Boyd wrote:
> drivers/clk/shmobile/clk-emev2.c:37:14: warning: symbol 'smu_base' was not declared. Should it be static?
>
> Cc: Takashi Yoshii <takasi-y@ops.dti.ne.jp>
> Cc: Magnus Damm <damm@opensource.se>
> Cc: Simon Horman <horms+renesas@verge.net.au>
> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>

Acked-by: Simon Horman <horms+renesas@verge.net.au>

Stephen, I'm assuming that you or Mike will merge this.

> ---
> drivers/clk/shmobile/clk-emev2.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/clk/shmobile/clk-emev2.c b/drivers/clk/shmobile/clk-emev2.c
> index 6c7c929c7765..5b60beb7d0eb 100644
> --- a/drivers/clk/shmobile/clk-emev2.c
> +++ b/drivers/clk/shmobile/clk-emev2.c
> @@ -34,7 +34,7 @@
> static DEFINE_SPINLOCK(lock);
>
> /* not pretty, but hey */
> -void __iomem *smu_base;
> +static void __iomem *smu_base;
>
> static void __init emev2_smu_write(unsigned long value, int offs)
> {
> --
> The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
> a Linux Foundation Collaborative Project
>


\
 
 \ /
  Last update: 2015-05-07 07:01    [W:0.211 / U:0.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site