Skip to content

Commit 86453b4

Browse files
vireshkrafaeljw
authored andcommitted
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>
1 parent 1c6a662 commit 86453b4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/base/power/opp.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,8 @@ static void kfree_device_rcu(struct rcu_head *head)
518518
kfree_rcu(device_opp, rcu_head);
519519
}
520520

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)
522523
{
523524
/*
524525
* Notify the changes in the availability of the operable

0 commit comments

Comments
 (0)