summaryrefslogtreecommitdiff
path: root/drivers/soc
diff options
context:
space:
mode:
authorJon Hunter <jonathanh@nvidia.com>2019-01-25 11:22:51 +0100
committerThierry Reding <treding@nvidia.com>2019-01-25 14:17:49 +0100
commitd32dde2c5a110f2d69add70d7a9f1c20d82d0ef1 (patch)
treeacd538c3c85375a045a971c9df07b964cd83c56b /drivers/soc
parentbbe5af60041cae1970f6722323557e23bc1e5b83 (diff)
soc/tegra: pmc: Make tegra_powergate_is_powered() a local function
Now there are no more external users of tegra_powergate_is_powered(), make this a local function. Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/soc')
-rw-r--r--drivers/soc/tegra/pmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/soc/tegra/pmc.c b/drivers/soc/tegra/pmc.c
index 50ebf98e04ee..986f2171ff38 100644
--- a/drivers/soc/tegra/pmc.c
+++ b/drivers/soc/tegra/pmc.c
@@ -637,7 +637,7 @@ EXPORT_SYMBOL(tegra_powergate_power_off);
* tegra_powergate_is_powered() - check if partition is powered
* @id: partition ID
*/
-int tegra_powergate_is_powered(unsigned int id)
+static int tegra_powergate_is_powered(unsigned int id)
{
if (!tegra_powergate_is_valid(id))
return -EINVAL;