PM / OPP: Staticize __dev_pm_opp_remove()
authorViresh Kumar <viresh.kumar@linaro.org>
Wed, 10 Dec 2014 04:15:32 +0000 (09:45 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 10 Dec 2014 21:18:34 +0000 (22:18 +0100)
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>
drivers/base/power/opp.c

index e1807268cbf2abfbd38e23e3ab8f2d130ceff1ff..fa065d6e17312ba503e1bb42c32417e1f94f0948 100644 (file)
@@ -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