Skip to content

Commit

Permalink
PM / OPP: Staticize __dev_pm_opp_remove()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Viresh Kumar authored and Rafael J. Wysocki committed Dec 10, 2014
1 parent 1c6a662 commit 86453b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/base/power/opp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 86453b4

Please sign in to comment.