]> git.karo-electronics.de Git - linux-beck.git/commit
soc/tegra: pmc: Fix sparse warning for tegra_pmc_init_tsense_reset()
authorJon Hunter <jonathanh@nvidia.com>
Fri, 4 Dec 2015 14:57:04 +0000 (14:57 +0000)
committerThierry Reding <treding@nvidia.com>
Tue, 5 Apr 2016 13:22:39 +0000 (15:22 +0200)
commit1e52efdfc6a29f9bad767b92b89ae6ae772063cc
tree5408130448230d92d681de4149d9a219f5524bbd
parent35b67291b4a85d37ec31f9d9ea3c5d3258ee0da6
soc/tegra: pmc: Fix sparse warning for tegra_pmc_init_tsense_reset()

Sparse reports the following warning for tegra_pmc_init_tsense_reset():

drivers/soc/tegra/pmc.c:741:6: warning: symbol 'tegra_pmc_init_tsense_reset' was not declared. Should it be static?

This function is only used internally by the PMC driver and so fix this
by making it static.

Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/soc/tegra/pmc.c