diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2014-12-09 23:15:32 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-12-10 16:18:34 -0500 |
commit | 86453b473b1f68c238a6901b26158b4ca3b369bc (patch) | |
tree | e5ae35ac9c98a9bab20c8739ced0fe7e72417017 /drivers/base | |
parent | 1c6a662f898ecd1615d25fecb8098ea646720a7a (diff) |
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 'drivers/base')
-rw-r--r-- | drivers/base/power/opp.c | 3 |
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) | |||
518 | kfree_rcu(device_opp, rcu_head); | 518 | kfree_rcu(device_opp, rcu_head); |
519 | } | 519 | } |
520 | 520 | ||
521 | void __dev_pm_opp_remove(struct device_opp *dev_opp, struct dev_pm_opp *opp) | 521 | static void __dev_pm_opp_remove(struct device_opp *dev_opp, |
522 | struct dev_pm_opp *opp) | ||
522 | { | 523 | { |
523 | /* | 524 | /* |
524 | * Notify the changes in the availability of the operable | 525 | * Notify the changes in the availability of the operable |