PM / OPP: export dev_pm_opp_get_notifier
authorNishanth Menon <nm@ti.com>
Wed, 24 Dec 2014 17:22:55 +0000 (11:22 -0600)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 23 Jan 2015 21:28:24 +0000 (22:28 +0100)
Allows user drivers such as devfreq to be modules.

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/opp.c

index 106c69359306b595e74075853ae8cc4e1465924f..435c94e93263535708d85a536f43c0e56d839059 100644 (file)
@@ -742,6 +742,7 @@ struct srcu_notifier_head *dev_pm_opp_get_notifier(struct device *dev)
 
        return &dev_opp->srcu_head;
 }
+EXPORT_SYMBOL_GPL(dev_pm_opp_get_notifier);
 
 #ifdef CONFIG_OF
 /**