diff mbox

[2/5] opp: Staticize __dev_pm_opp_remove()

Message ID ada2bd487383fe6a84001227ba7bd43d44146528.1418184737.git.viresh.kumar@linaro.org
State New
Headers show

Commit Message

Viresh Kumar Dec. 10, 2014, 4:15 a.m. UTC
Its a local routine and must not be accessible outside of opp.c.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
---
 drivers/base/power/opp.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox

Patch

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