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: Ãrjan Eide <orjan.eide@arm.com> Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
This commit is contained in:
parent
adad5621f3
commit
bd7e927705
|
@ -1119,6 +1119,7 @@ struct dev_pm_opp *devfreq_recommended_opp(struct device *dev,
|
|||
|
||||
return opp;
|
||||
}
|
||||
EXPORT_SYMBOL(devfreq_recommended_opp);
|
||||
|
||||
/**
|
||||
* 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)
|
|||
|
||||
return ret;
|
||||
}
|
||||
EXPORT_SYMBOL(devfreq_register_opp_notifier);
|
||||
|
||||
/**
|
||||
* 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)
|
|||
|
||||
return ret;
|
||||
}
|
||||
EXPORT_SYMBOL(devfreq_unregister_opp_notifier);
|
||||
|
||||
static void devm_devfreq_opp_release(struct device *dev, void *res)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue