提交 bd7e9277 编写于 作者: Ã Ãrjan Eide 提交者: MyungJoo Ham

PM / devfreq: Export helper functions for drivers

These functions are indended for use by drivers and should be available
also when the driver is built as a module.

Cc: MyungJoo Ham <myungjoo.ham@samsung.com>
Cc: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: NÃrjan Eide <orjan.eide@arm.com>
Signed-off-by: NMyungJoo Ham <myungjoo.ham@samsung.com>
上级 adad5621
...@@ -1119,6 +1119,7 @@ struct dev_pm_opp *devfreq_recommended_opp(struct device *dev, ...@@ -1119,6 +1119,7 @@ struct dev_pm_opp *devfreq_recommended_opp(struct device *dev,
return opp; return opp;
} }
EXPORT_SYMBOL(devfreq_recommended_opp);
/** /**
* devfreq_register_opp_notifier() - Helper function to get devfreq notified * devfreq_register_opp_notifier() - Helper function to get devfreq notified
...@@ -1142,6 +1143,7 @@ int devfreq_register_opp_notifier(struct device *dev, struct devfreq *devfreq) ...@@ -1142,6 +1143,7 @@ int devfreq_register_opp_notifier(struct device *dev, struct devfreq *devfreq)
return ret; return ret;
} }
EXPORT_SYMBOL(devfreq_register_opp_notifier);
/** /**
* devfreq_unregister_opp_notifier() - Helper function to stop getting devfreq * devfreq_unregister_opp_notifier() - Helper function to stop getting devfreq
...@@ -1168,6 +1170,7 @@ int devfreq_unregister_opp_notifier(struct device *dev, struct devfreq *devfreq) ...@@ -1168,6 +1170,7 @@ int devfreq_unregister_opp_notifier(struct device *dev, struct devfreq *devfreq)
return ret; return ret;
} }
EXPORT_SYMBOL(devfreq_unregister_opp_notifier);
static void devm_devfreq_opp_release(struct device *dev, void *res) static void devm_devfreq_opp_release(struct device *dev, void *res)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册