lkml.org 
[lkml]   [2015]   [Dec]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 3/3] clk: tegra-super: Fix sparse warnings for functions not declared as static
From
Date
On 12/4/2015 12:04 PM, Jon Hunter wrote:
> Sparse reports the following warnings for structures and functions that
> should be declared static:
>
> drivers/clk/tegra/clk-tegra-super-gen4.c:70:35: warning: symbol
> 'tegra_super_gen_info_gen4' was not declared. Should it be static?
> drivers/clk/tegra/clk-tegra-super-gen4.c:96:35: warning: symbol
> 'tegra_super_gen_info_gen5' was not declared. Should it be static?
> drivers/clk/tegra/clk-tegra-super-gen4.c:174:13: warning: symbol
> 'tegra_super_clk_init' was not declared. Should it be static?
>
> Fix this by making the above static.
>
> Fixes: 88467d220119 ("clk: tegra: Add Super Gen5 Logic")
>
> Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
> ---
> drivers/clk/tegra/clk-tegra-super-gen4.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
...

Acked-by: Rhyland Klein <rklein@nvidia.com>

--
nvpublic


\
 
 \ /
  Last update: 2015-12-07 17:21    [W:0.083 / U:0.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site