clk: tegra: super: Fix sparse warnings for functions not declared as static
authorJon Hunter <jonathanh@nvidia.com>
Fri, 4 Dec 2015 17:04:25 +0000 (17:04 +0000)
committerThierry Reding <treding@nvidia.com>
Tue, 2 Feb 2016 14:49:34 +0000 (15:49 +0100)
commit5a1d5eff3ede4de4482015a9999336051054283f
tree2c6e9c63cc4aad38ea93d544147606840da3c397
parentfd360e20844aa8d1081eb28c72128abb7a5d3598
clk: tegra: super: Fix sparse warnings for functions not declared as static

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.

Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Acked-by: Rhyland Klein <rklein@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/clk/tegra/clk-tegra-super-gen4.c