aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/base/power/opp.c
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2014-12-10 09:45:32 +0530
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-12-10 22:18:34 +0100
commit86453b473b1f68c238a6901b26158b4ca3b369bc (patch)
treee5ae35ac9c98a9bab20c8739ced0fe7e72417017 /drivers/base/power/opp.c
parentPM / OPP: replace kfree with kfree_rcu while freeing 'struct device_opp' (diff)
downloadlinux-dev-86453b473b1f68c238a6901b26158b4ca3b369bc.tar.xz
linux-dev-86453b473b1f68c238a6901b26158b4ca3b369bc.zip
PM / OPP: Staticize __dev_pm_opp_remove()
Its a local routine and need not be accessible outside of opp.c. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to '')
-rw-r--r--drivers/base/power/opp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/base/power/opp.c b/drivers/base/power/opp.c
index e1807268cbf2..fa065d6e1731 100644
--- a/drivers/base/power/opp.c
+++ b/drivers/base/power/opp.c
@@ -518,7 +518,8 @@ static void kfree_device_rcu(struct rcu_head *head)
kfree_rcu(device_opp, rcu_head);
}
-void __dev_pm_opp_remove(struct device_opp *dev_opp, struct dev_pm_opp *opp)
+static void __dev_pm_opp_remove(struct device_opp *dev_opp,
+ struct dev_pm_opp *opp)
{
/*
* Notify the changes in the availability of the operable